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