chore: 优化sms.checksms响应、完成sms登陆、给user.create改了个名儿

This commit is contained in:
2025-12-17 23:18:17 +08:00
parent ca527e997d
commit 0575f892ef
6 changed files with 23 additions and 55 deletions

View File

@@ -41,7 +41,7 @@ export class AdminUserController {
@Post()
async create(@Body() createDto: CreateDto) {
return this.userService.create({
return this.userService.register({
...createDto,
...(createDto.password &&
(() => {