This commit is contained in:
aozhiwei 2024-09-23 17:03:51 +08:00
parent 85c4ed3088
commit 8da456a6ef
2 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,7 @@ func (this *vip) AddEx(accountAddress string, val string, idx int64, valField st
return true
}
func (this *vip) recalcEsCecConvert(accountAddress string) error {
func (this *vip) RecalcEsCecConvert(accountAddress string) error {
accountAddress = strings.ToLower(accountAddress)
return nil
}

View File

@ -5,6 +5,7 @@ import (
"f5"
"main/mt"
"main/constant"
"main/service"
"jccommon"
"fmt"
"strings"
@ -124,6 +125,7 @@ func (this* vester) saveToDb(ds *f5.DataSet) bool {
if err != nil {
return false
}
return service.Vip.RecalcEsCecConvert(p.Account) == nil
}
} else if eventName == VESTER_WITHDRAW_EVENT_NAME {
p := new(jccommon.VesterWithdrawPo)
@ -142,6 +144,7 @@ func (this* vester) saveToDb(ds *f5.DataSet) bool {
if err != nil {
return false
}
return service.Vip.RecalcEsCecConvert(p.Account) == nil
}
} else {
panic(fmt.Sprintf("vester unknow event_name %s", eventName))