1.优化回调通知接口,修复"网络请求失败"时通知子渠道缺少参数导致通知失败的问题;
This commit is contained in:
parent
7f3ef982b0
commit
ec84726547
|
@ -108,6 +108,8 @@ func (e MiGuDeployService) SubscribeNotice(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
orderInfo.ChannelCode = inOrder.ChannelCode
|
||||
orderInfo.OrderSerial = inOrder.OrderSerial
|
||||
orderInfo.ChannelTradeNo = inOrder.ChannelTradeNo
|
||||
} else { // 订单表有记录
|
||||
if orderInfo.State != 1 {
|
||||
err = e.Orm.Table("mg_order").Where("external_order_id = ?", orderId).Updates(map[string]interface{}{
|
||||
|
|
Loading…
Reference in New Issue
Block a user