无关风月
2025-01-22 38740176f6c0eba2e479e4c1c4b96591e82ec16a
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TTenantController.java
@@ -78,7 +78,7 @@
     */
    @ApiOperation(value = "查看租户详情")
    @GetMapping(value = "/getDetailById")
    public R<TTenant> getDetailById(@RequestParam Long id) {
    public R<TTenant> getDetailById(@RequestParam String id) {
        return R.ok(tenantService.getById(id));
    }
@@ -88,7 +88,7 @@
    @Log(title = "租户信息-删除租户", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除租户")
    @DeleteMapping(value = "/deleteById")
    public R<Boolean> deleteById(@RequestParam Long id) {
    public R<Boolean> deleteById(@RequestParam String id) {
        return R.ok(tenantService.removeById(id));
    }
@@ -98,7 +98,7 @@
    @Log(title = "租户信息-删除租户", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除租户")
    @DeleteMapping(value = "/deleteByIds")
    public R<Boolean> deleteByIds(@RequestBody List<Long> ids) {
    public R<Boolean> deleteByIds(@RequestBody List<String> ids) {
        return R.ok(tenantService.removeByIds(ids));
    }