diff --git a/src/app/api/customer/AuthController.ts b/src/app/api/customer/AuthController.ts index 2089cb11..dc5a40ba 100644 --- a/src/app/api/customer/AuthController.ts +++ b/src/app/api/customer/AuthController.ts @@ -20,7 +20,7 @@ export default class AuthController extends ApiController { super(); } - @Post("/api/v1/customer/login/mail/verify-sms") + @Post("/api/v1/customer/auth/mail/verify-sms") protected async mailVerifySms(req: Request, response: Response) { const email = req.body["email"]; if (!email) { @@ -45,7 +45,7 @@ export default class AuthController extends ApiController { } } - @Post("/api/v1/customer/login") + @Post("/api/v1/customer/auth/login") protected async login(req: Request, response: Response) { const email = req.body["email"]; const smsCode = req.body["smsCode"]; @@ -94,7 +94,7 @@ export default class AuthController extends ApiController { } } - @Post("/api/v1/customer/set-password") + @Post("/api/v1/customer/auth/set-password") protected async setPassword(req: Request, response: Response) { const email = req.body["email"]; const smsCode = req.body["smsCode"];