1
This commit is contained in:
parent
b943c60cdd
commit
84d58d0145
@ -48,11 +48,19 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
||||
passportAddress := ds.GetByName("passport_address")
|
||||
diamond := q5.ToInt64(ds.GetByName("diamond"))
|
||||
netId := q5.ToInt32(ds.GetByName("net_id"))
|
||||
//email := ds.GetByName("email")
|
||||
accountId := service.GetAccountIdByAddress(passportAddress)
|
||||
email := ds.GetByName("lower_case_email")
|
||||
accountId := ""
|
||||
if email != "" {
|
||||
accountId = service.GetAccountIdByEmail(email)
|
||||
} else {
|
||||
accountId = service.GetAccountIdByAddress(passportAddress)
|
||||
}
|
||||
if accountId == "" {
|
||||
return true
|
||||
}
|
||||
if !service.AccountIdExistsAndIgnoreError(accountId) {
|
||||
return true
|
||||
}
|
||||
if this.markOk(idx, accountId) != nil {
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user