BUGFIX:编辑子账号邮箱时积分回流策略有漏洞

This commit is contained in:
2025-08-27 11:41:07 +08:00
parent c3cbb61c16
commit ee551a0be2
3 changed files with 6 additions and 6 deletions

View File

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