Compare commits
2 Commits
b632c78472
...
6e8ff5b9c6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6e8ff5b9c6 | ||
![]() |
92b7993ea7 |
@ -95,6 +95,17 @@ public class BaseCategoryController extends BaseController {
|
||||
return success(baseCategoryService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分类树-根据code查询
|
||||
*/
|
||||
@GetMapping(value = "/getByCodeInfo")
|
||||
public AjaxResult getByCodeInfo(@RequestParam("code") String code) {
|
||||
LambdaQueryWrapper<BaseCategory> queryWrapper = new LambdaQueryWrapper<BaseCategory>()
|
||||
.eq(BaseCategory::getCode,code);
|
||||
List<BaseCategory> list = baseCategoryService.list(queryWrapper);
|
||||
return success(list.isEmpty()?null:list.get(0));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增分类树-各种分类属性结构
|
||||
*/
|
||||
|
@ -143,7 +143,7 @@ xss:
|
||||
excludes: /system/notice
|
||||
# 匹配链接
|
||||
urlPatterns: /system/*,/monitor/*,/tool/*
|
||||
# 微信小程序配置----dl
|
||||
# 微信小程序配置----多点通告
|
||||
wx-app:
|
||||
appId: wxd96fda6510adb6d3
|
||||
appSecret: 2d3bf7172d09966bd98e1611117c2cb0
|
||||
|
Loading…
Reference in New Issue
Block a user