addf
This commit is contained in:
@@ -172,6 +172,15 @@ func (l *AlipayCallbackLogic) handleWhitelistOrderPayment(w http.ResponseWriter,
|
||||
return nil
|
||||
}
|
||||
|
||||
if whitelistOrder.Status == 2 {
|
||||
syncPaidWhitelistOrderToTianyuan(
|
||||
l.ctx,
|
||||
l.svcCtx,
|
||||
whitelistOrder,
|
||||
buildAgentPaidWhitelistSyncRemark(orderNo),
|
||||
)
|
||||
}
|
||||
|
||||
// 6. 更新订单和白名单订单 + 创建白名单记录并删除报告数据
|
||||
err = l.svcCtx.WhitelistOrderModel.Trans(l.ctx, func(ctx context.Context, session sqlx.Session) error {
|
||||
// 6.1 更新订单状态
|
||||
|
||||
Reference in New Issue
Block a user