pay log
This commit is contained in:
@@ -110,6 +110,7 @@ func Pay(ctx *jxcontext.Context, orderID string, payType int, vendorPayType, app
|
|||||||
// 给用户创建一个银行卡账户
|
// 给用户创建一个银行卡账户
|
||||||
globals.SugarLogger.Debugf("createbill begin……")
|
globals.SugarLogger.Debugf("createbill begin……")
|
||||||
userBill, err := dao.GetUserBill(db, order.UserID, "")
|
userBill, err := dao.GetUserBill(db, order.UserID, "")
|
||||||
|
globals.SugarLogger.Debug("user_bill.billID……", userBill.BillID)
|
||||||
if userBill == nil {
|
if userBill == nil {
|
||||||
err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID)
|
err = financial.AddUserBill(txDB, jxutils.GenBillID(), order.UserID)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user