From 343547ab9ddcbc67da09249bc29d1ee2410aed99 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 23 Sep 2024 15:39:02 +0800 Subject: [PATCH] 1 --- server/light_backtask/service/vip.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/light_backtask/service/vip.go b/server/light_backtask/service/vip.go index d62e5831..916f1a7a 100644 --- a/server/light_backtask/service/vip.go +++ b/server/light_backtask/service/vip.go @@ -15,6 +15,12 @@ func (this *vip) init() () { } func (this *vip) Add(accountAddress string, val string, idx int64, valField string, idxField string) bool { + return this.AddEx(accountAddress, val, idx, valField, idxField, [][]string{}) +} + + +func (this *vip) AddEx(accountAddress string, val string, idx int64, valField string, idxField string, + whereKv [][]string) bool { this.lock.Lock() defer this.lock.Unlock()