BUGFIX:编辑子账号邮箱时积分回流策略有漏洞
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user