add pay
This commit is contained in:
@@ -118,7 +118,7 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app
|
||||
globals.SugarLogger.Debug("order.PayPrice after=========================", order.PayPrice)
|
||||
globals.SugarLogger.Debug("order.PayMethod after=========================", order.PayMethod)
|
||||
globals.SugarLogger.Debugf("pay begin……")
|
||||
err = dao.GetEntity(db, order, "OrderID")
|
||||
//err = dao.GetEntity(db, order, "OrderID")
|
||||
if order.ID == 0 {
|
||||
return result, fmt.Errorf("未找到此订单!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user