微信小程序审核不通过修改
CI / verify (pull_request) Has been cancelled

This commit is contained in:
2026-07-21 09:32:06 +08:00
parent 350a086a73
commit 935ab0d1d4
14 changed files with 466 additions and 242 deletions
@@ -55,6 +55,22 @@ export class LoginWechatDto {
platform?: 'h5' | 'mini';
}
/** 小程序 getPhoneNumber 返回的 phoneCode,可选附带 wx.login code 绑定 openId */
export class LoginWechatPhoneDto {
@IsString()
@IsNotEmpty()
phoneCode: string;
@IsString()
@IsOptional()
loginCode?: string;
@IsString()
@IsIn(['h5', 'mini'])
@IsOptional()
platform?: 'h5' | 'mini';
}
export class BindWechatPhoneDto {
@IsString()
@IsNotEmpty()