mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
仅内网只可看 调整
This commit is contained in:
@@ -197,11 +197,14 @@ public class CourseManageApi extends ApiBaseController{
|
|||||||
|
|
||||||
}
|
}
|
||||||
@GetMapping("/getDictIds")
|
@GetMapping("/getDictIds")
|
||||||
public JsonResponse<Map<String,Object>> getDictIds(CommonSearchVo searcher){
|
public JsonResponse<Map<String,Object>> getDictIds(Long pid,Integer type){
|
||||||
if(searcher==null){
|
CommonSearchVo searcher = new CommonSearchVo();
|
||||||
|
if(pid==null || type ==null){
|
||||||
return badRequest("参数错误");
|
return badRequest("参数错误");
|
||||||
}
|
}
|
||||||
Map<String,Object> rs=new HashMap<String,Object>();
|
Map<String,Object> rs=new HashMap<String,Object>();
|
||||||
|
searcher.setPid(pid);
|
||||||
|
searcher.setType(type);
|
||||||
List<Dict> dictList = thirdApi.getDictItems(searcher);
|
List<Dict> dictList = thirdApi.getDictItems(searcher);
|
||||||
rs.put("dicts",null);
|
rs.put("dicts",null);
|
||||||
if(dictList != null && dictList.size() > 0){
|
if(dictList != null && dictList.size() > 0){
|
||||||
|
|||||||
Reference in New Issue
Block a user