pay
This commit is contained in:
@@ -52,6 +52,9 @@ func Pay(ctx *jxcontext.Context, orderID, payType int, vendorPayType string) (re
|
||||
}
|
||||
)
|
||||
err = dao.GetEntity(db, order, "OrderID")
|
||||
if order.ID == 0 {
|
||||
return result, fmt.Errorf("未找到此订单!")
|
||||
}
|
||||
payHandler.Order = order
|
||||
//如果用户没有对应账单信息就给他生成一条
|
||||
userBill, err := dao.GetUserBill(db, order.UserID, "")
|
||||
|
||||
Reference in New Issue
Block a user