pay log
This commit is contained in:
@@ -108,11 +108,13 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app
|
||||
}()
|
||||
|
||||
// 给用户创建一个银行卡账户
|
||||
globals.SugarLogger.Debug("create bill begin……")
|
||||
userBill, err := dao.GetUserBill(db, order.UserID, "")
|
||||
if userBill == nil {
|
||||
err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID)
|
||||
}
|
||||
err = payHandler.CreatePay(txDB, appId)
|
||||
globals.SugarLogger.Debug("errrrrr=========================", err)
|
||||
dao.Commit(db, txDB)
|
||||
globals.SugarLogger.Debug("the last step of this program,return err……", err)
|
||||
globals.SugarLogger.Debugf("result : %v", utils.Format4Output(payHandler.WxPayParam, false))
|
||||
|
||||
Reference in New Issue
Block a user