BUGFIX:同一浏览器切换版本登录时,密码被置空

This commit is contained in:
2025-08-13 16:45:30 +08:00
parent 1e25ae36f1
commit c28db81893
5 changed files with 35 additions and 10 deletions

View File

@@ -304,7 +304,9 @@ public class AccountController {
@PostMapping("deleteSubAccount")
@ApiOperation(value = "子账号删除")
public Response<Boolean> deleteSubAccount(@Valid @RequestBody AddSubAccountDTO addSubAccountDTO) {
return Response.success(accountService.deleteSubAccount(addSubAccountDTO));
// return Response.success(accountService.deleteSubAccount(addSubAccountDTO));
accountService.removeSubAccount(addSubAccountDTO, true);
return Response.success();
}
@PostMapping("subAccountList")