This commit is contained in:
2025-04-26 15:39:44 +08:00
parent 7c0ec23b68
commit e1e76fa57b
2 changed files with 14 additions and 12 deletions

View File

@@ -163,7 +163,7 @@ func (w *WechatPayService) CreateWechatOrder(ctx context.Context, amount float64
}
case "h5-weixin":
userID, getUidErr := ctxdata.GetUidFromCtx(ctx)
if getUidErr != nil || userID != 2743 {
if getUidErr != nil {
return "", getUidErr
}
userAuthModel, findAuthModelErr := w.userAuthModel.FindOneByUserIdAuthType(ctx, userID, model.UserAuthTypeWxh5)