This commit is contained in:
richboo111
2022-08-02 17:22:15 +08:00
parent 979769669f
commit 2b948d7d35

View File

@@ -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.UserIDuserBill=======================", 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