1
This commit is contained in:
parent
f9387d345f
commit
ac5a180cd1
@ -64,6 +64,11 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
||||
userIdentity = passportAddress
|
||||
accountId = service.GetAccountIdByAddress(passportAddress)
|
||||
}
|
||||
if returnContribution > 0.0 {
|
||||
if this.returnContribution(netId, shortOrderId, userIdentity, returnContribution, payTime) != nil {
|
||||
return true
|
||||
}
|
||||
}
|
||||
if accountId == "" {
|
||||
return true
|
||||
}
|
||||
@ -73,11 +78,6 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
||||
if this.markOk(idx, accountId) != nil {
|
||||
return true
|
||||
}
|
||||
if returnContribution > 0.0 {
|
||||
if this.returnContribution(netId, shortOrderId, userIdentity, returnContribution, payTime) != nil {
|
||||
return true
|
||||
}
|
||||
}
|
||||
service.UserAddDiamond(accountId, diamond, netId, orderId)
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user