Compare commits

...

2 Commits

Author SHA1 Message Date
Vinjor
6e8ff5b9c6 Merge branch 'master' of http://192.168.1.26:3000/dianliang/dl_admin 2025-04-25 11:35:41 +08:00
Vinjor
92b7993ea7 1 2025-04-25 11:35:35 +08:00
2 changed files with 12 additions and 1 deletions

View File

@ -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));
}
/**
* 新增分类树-各种分类属性结构
*/

View File

@ -143,7 +143,7 @@ xss:
excludes: /system/notice
# 匹配链接
urlPatterns: /system/*,/monitor/*,/tool/*
# 微信小程序配置----dl
# 微信小程序配置----多点通告
wx-app:
appId: wxd96fda6510adb6d3
appSecret: 2d3bf7172d09966bd98e1611117c2cb0