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")
|
passportAddress := ds.GetByName("passport_address")
|
||||||
diamond := q5.ToInt64(ds.GetByName("diamond"))
|
diamond := q5.ToInt64(ds.GetByName("diamond"))
|
||||||
netId := q5.ToInt32(ds.GetByName("net_id"))
|
netId := q5.ToInt32(ds.GetByName("net_id"))
|
||||||
//email := ds.GetByName("email")
|
email := ds.GetByName("lower_case_email")
|
||||||
accountId := service.GetAccountIdByAddress(passportAddress)
|
accountId := ""
|
||||||
|
if email != "" {
|
||||||
|
accountId = service.GetAccountIdByEmail(email)
|
||||||
|
} else {
|
||||||
|
accountId = service.GetAccountIdByAddress(passportAddress)
|
||||||
|
}
|
||||||
if accountId == "" {
|
if accountId == "" {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if !service.AccountIdExistsAndIgnoreError(accountId) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
if this.markOk(idx, accountId) != nil {
|
if this.markOk(idx, accountId) != nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user