'working with mobile"

This commit is contained in:
rahulpscraftech360 2025-08-29 21:33:25 +05:30
parent 22ba4b45a8
commit 8f303e594c
3 changed files with 4 additions and 4 deletions

View file

@ -104,8 +104,8 @@ public class LoginController {
@PostMapping("/register") @PostMapping("/register")
@Operation(summary = "Register") @Operation(summary = "Register")
public Result<Void> register(@RequestBody LoginDTO login) { public Result<TokenDTO> register(@RequestBody LoginDTO login) {
Production1
if (!sysUserService.getAllowUserRegister()) { if (!sysUserService.getAllowUserRegister()) {
throw new RenException("当前不允许普通用户注册"); throw new RenException("当前不允许普通用户注册");
} }

View file

@ -42,4 +42,4 @@ public interface CaptchaService {
* @return true:成功 false:失败 * @return true:成功 false:失败
*/ */
boolean validateSMSValidateCode(String phone, String code, Boolean delete); boolean validateSMSValidateCode(String phone, String code, Boolean delete);
} }

View file

@ -325,7 +325,7 @@ databaseChangeLog:
- sqlFile: - sqlFile:
encoding: utf8 encoding: utf8
path: classpath:db/changelog/202508291500.sql path: classpath:db/changelog/202508291500.sql
- changeSet:
id: 202501230002_translate_dict_names id: 202501230002_translate_dict_names
author: cheeko author: cheeko
changes: changes: