订单查询

master
kanade 3 years ago
parent 0b8ac4a192
commit 2067466251

@ -64,6 +64,15 @@ func QueryOrderPay(c *gin.Context) {
if orderInfo.Status == 1 || orderInfo.Status == 0 {
back.Suc(c, "", map[string]interface{}{"status": orderInfo.Status})
} else {
if orderInfo.Status == 3 && orderInfo.IsSplit {
if err, status := queryMore(p.OrderID); err != nil {
back.Fail(c, err.Error())
return
} else {
back.Suc(c, "", map[string]interface{}{"status": status})
return
}
}
back.Fail(c, "当前状态不可查询")
}
}

Loading…
Cancel
Save