1
This commit is contained in:
parent
85c4ed3088
commit
8da456a6ef
@ -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
|
||||
}
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user