在controller中设置接口并调用服务中的数据
@ApiOperation(value = “售后类型数据字典”, notes = “售后类型”)
@GetMapping(“/dict”)
public R vehDict() {
List list =afterSaleTypeService.list();
return R.ok(list,“集合中共有 “+ list.size() +” 条数据。”);
}

在controller中设置接口并调用服务中的数据
@ApiOperation(value = “售后类型数据字典”, notes = “售后类型”)
@GetMapping(“/dict”)
public R vehDict() {
List list =afterSaleTypeService.list();
return R.ok(list,“集合中共有 “+ list.size() +” 条数据。”);
}