Skip to content

Commit

Permalink
refactor: 字典管理分页查询接口 => 查询列表接口
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed May 19, 2024
1 parent 651cc8a commit b13d0e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,4 @@ public class DictResp extends BaseDetailResp {
*/
@Schema(description = "是否为系统内置数据", example = "true")
private Boolean isSystem;

@Override
public Boolean getDisabled() {
return this.getIsSystem();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
*/
@Tag(name = "字典管理 API")
@RestController
@CrudRequestMapping(value = "/system/dict", api = {Api.PAGE, Api.GET, Api.ADD, Api.UPDATE, Api.DELETE})
@CrudRequestMapping(value = "/system/dict", api = {Api.LIST, Api.GET, Api.ADD, Api.UPDATE, Api.DELETE})
public class DictController extends BaseController<DictService, DictResp, DictResp, DictQuery, DictReq> {
}

0 comments on commit b13d0e9

Please sign in to comment.