diff --git a/app/services/OrderService.go b/app/services/OrderService.go index 6eeb957..0185d7d 100644 --- a/app/services/OrderService.go +++ b/app/services/OrderService.go @@ -248,7 +248,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN return front.YouChuOrderNotifyResponse{RespCode: "000004", RespMsg: "充值失败"} } order.OrgTxnSeq = YouChuOrderNotifyRequest.OrderNo - if send.ErrCode != "00" { + if send.ErrCode != "00" || send.Data.ShortUrl == "" { order.State = common.ORDER_STATUS_FAIL } else { order.State = common.ORDER_STATUS_FINISH