addf
This commit is contained in:
@@ -217,6 +217,13 @@ func (l *PaymentLogic) Payment(req *types.PaymentReq) (resp *types.PaymentResp,
|
||||
}
|
||||
|
||||
// 更新白名单订单状态为已支付并处理白名单记录
|
||||
syncPaidWhitelistOrderToTianyuan(
|
||||
context.Background(),
|
||||
l.svcCtx,
|
||||
whitelistOrder,
|
||||
buildAgentPaidWhitelistSyncRemark(paymentTypeResp.outTradeNo),
|
||||
)
|
||||
|
||||
err := l.svcCtx.WhitelistOrderModel.Trans(context.Background(), func(transCtx context.Context, session sqlx.Session) error {
|
||||
// 更新白名单订单状态为已支付
|
||||
whitelistOrder.Status = 2 // 已支付
|
||||
|
||||
Reference in New Issue
Block a user