开店需要验证手机号

This commit is contained in:
2026-07-12 17:51:20 +08:00
parent b550ee2255
commit 908a5dcf0f
7 changed files with 235 additions and 9 deletions
@@ -41,6 +41,11 @@ export class PartnerStoreController {
return this.storeService.partnerCheckStorePhone(phone ?? '');
}
@Post('send-phone-sms')
sendPhoneSms(@Body() body: { phone: string }) {
return this.storeService.sendPartnerStorePhoneSms(body.phone);
}
@Get(':id')
detail(@CurrentUser() user: AuthUser, @Param('id') id: string) {
return this.storeService.partnerGetStore(user.actorId, BigInt(id));