This commit is contained in:
aozhiwei 2024-08-05 13:54:57 +08:00
parent fb6260c774
commit ef70986256

View File

@ -50,14 +50,13 @@ func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
netId := q5.ToInt32(ds.GetByName("net_id"))
accountId := service.GetAccountIdByAddress(passportAddress)
if accountId == "" {
return false
return true
}
if this.markOk(idx, accountId) != nil {
return false
return true
}
ret := service.UserAddDiamond(accountId, diamond, netId, orderId)
return ret
service.UserAddDiamond(accountId, diamond, netId, orderId)
return true
}
func (this *recharge) markOk(idx int64, deliveryAccountId string) error {