开店需要验证手机号
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user