1
This commit is contained in:
parent
fb6260c774
commit
ef70986256
@ -50,14 +50,13 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
|||||||
netId := q5.ToInt32(ds.GetByName("net_id"))
|
netId := q5.ToInt32(ds.GetByName("net_id"))
|
||||||
accountId := service.GetAccountIdByAddress(passportAddress)
|
accountId := service.GetAccountIdByAddress(passportAddress)
|
||||||
if accountId == "" {
|
if accountId == "" {
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
if this.markOk(idx, accountId) != nil {
|
if this.markOk(idx, accountId) != nil {
|
||||||
return false
|
return true
|
||||||
|
|
||||||
}
|
}
|
||||||
ret := service.UserAddDiamond(accountId, diamond, netId, orderId)
|
service.UserAddDiamond(accountId, diamond, netId, orderId)
|
||||||
return ret
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *recharge) markOk(idx int64, deliveryAccountId string) error {
|
func (this *recharge) markOk(idx int64, deliveryAccountId string) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user