提交roll注册

This commit is contained in:
2026-07-29 15:01:28 +08:00
parent 450787062b
commit 44c841f9a0
3 changed files with 23 additions and 8 deletions
@@ -115,7 +115,11 @@ public class TtUserController extends BaseController {
@DeleteMapping("/{userIds}")
public AjaxResult remove(@PathVariable Long[] userIds) {
return toAjax(userService.removeByIds(Arrays.asList(userIds)));
// 直接从数据库物理删除,避免逻辑删除后手机号被唯一索引占用无法重新注册
for (Long userId : userIds) {
ttUserMapper.removeByUserId(userId.intValue());
}
return toAjax(userIds.length);
}
@GetMapping("/online/list")