增加价格排序

This commit is contained in:
qiyunfanbo126.com 2024-08-01 17:44:53 +08:00
parent b1b5d943a5
commit 9e299504b1
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN
return front.YouChuOrderNotifyResponse{RespCode: "000004", RespMsg: "充值失败"} return front.YouChuOrderNotifyResponse{RespCode: "000004", RespMsg: "充值失败"}
} }
order.OrgTxnSeq = YouChuOrderNotifyRequest.OrderNo order.OrgTxnSeq = YouChuOrderNotifyRequest.OrderNo
if send.ErrCode != "00" { if send.ErrCode != "00" || send.Data.ShortUrl == "" {
order.State = common.ORDER_STATUS_FAIL order.State = common.ORDER_STATUS_FAIL
} else { } else {
order.State = common.ORDER_STATUS_FINISH order.State = common.ORDER_STATUS_FINISH