@IgnoreAuth
@RequestMapping(“/list”)
public R list(@RequestParam Map<String, Object> params,ConfigEntity config){
EntityWrapper ew = new EntityWrapper();
PageUtils page = configService.queryPage(params);
return R.ok().put(“data”, page);
}
/**
- 信息
*/
@RequestMapping(“/info/{id}”)
public R info(@PathVariable(“id”) String id){
ConfigEntity config = configService.selectById(id);
return R.ok().put(“data”, config);
}
/**
- 详情
*/
@IgnoreAuth
@RequestMapping(“/detail/{id}”)
public R detail(@PathVariable(“id”) String id){
ConfigEntity config = configService.selectById(id);
return R.ok().put(“data”, config);
}
/**
- 根据name获取信息
*/
@RequestMapping(“/info”)
public R i