feat: v3.4.18 门店体验与登录态优化
- mini-user 门店座机电话中间四位脱敏(保留区号与前后位) - mini-user 套餐详情图增加 1/N 计数与自动轮播 - h5-partner 账号暂停(DISABLED)禁止登录并提示客服 - h5-shop 提现/筛选栏左右留白与页面一致 - h5-shop 休息中核销改为弹「是否开启营业」并支持开张后继续 Co-Authored-By: WorkBuddy <workbuddy@tencent.com>
This commit is contained in:
@@ -309,7 +309,7 @@ export class AuthService {
|
||||
where: { phone },
|
||||
});
|
||||
if (!account) throw new BadRequestException('未找到合伙人账号');
|
||||
if (account.status !== 'ACTIVE') throw new BadRequestException('合伙人账号已停用');
|
||||
if (account.status !== 'ACTIVE') throw new BadRequestException('该账号已暂停使用,请联系客服人员');
|
||||
return account;
|
||||
}
|
||||
|
||||
@@ -1061,7 +1061,7 @@ export class AuthService {
|
||||
where: { phone: normalizedPhone },
|
||||
});
|
||||
if (!account) throw new BadRequestException('未找到合伙人账号');
|
||||
if (account.status !== 'ACTIVE') throw new BadRequestException('合伙人账号已停用');
|
||||
if (account.status !== 'ACTIVE') throw new BadRequestException('该账号已暂停使用,请联系客服人员');
|
||||
await this.syncTestFlagByPhone(normalizedPhone);
|
||||
const primary = await this.resolvePrimaryAccount(account.id);
|
||||
await this.prisma.partnerAccount.update({
|
||||
@@ -1724,7 +1724,7 @@ export class AuthService {
|
||||
}
|
||||
|
||||
if (account.status !== 'ACTIVE') {
|
||||
throw new BadRequestException('合伙人账号已停用');
|
||||
throw new BadRequestException('该账号已暂停使用,请联系客服人员');
|
||||
}
|
||||
|
||||
account = await this.prisma.partnerAccount.update({
|
||||
|
||||
Reference in New Issue
Block a user