@Autowired
private ConfigService configService;
/**
- 列表
*/
@RequestMapping(“/page”)
public R page(@RequestParam Map<String, Object> params,ConfigEntity config){
EntityWrapper ew = new EntityWrapper();
PageUtils page = configService.queryPage(params);
return R.ok().put(“data”, page);
}
/**
- 列表
*/
@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(i