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