pay
This commit is contained in:
@@ -150,9 +150,9 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app
|
||||
userBill, err := dao.GetUserBill(db, order.UserID, "")
|
||||
if userBill == nil {
|
||||
globals.SugarLogger.Debug("order.UserID,userBill=======================", order.UserID, userBill)
|
||||
err = financial.AddUserBill(txdb, jxutils.GenBillID(), order.UserID)
|
||||
err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID)
|
||||
}
|
||||
err = payHandler.CreatePay(txdb, appId)
|
||||
err = payHandler.CreatePay(txDB, appId)
|
||||
globals.SugarLogger.Debug("the last step of this program,return err……", err)
|
||||
globals.SugarLogger.Debugf("result : %v", utils.Format4Output(payHandler.WxPayParam, false))
|
||||
return payHandler.WxPayParam, err
|
||||
|
||||
Reference in New Issue
Block a user