|
@@ -47,10 +47,11 @@ public class TaResourceController extends BaseController {
|
47
|
47
|
@ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
|
48
|
48
|
public ResponseBean getList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
49
|
49
|
@ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
50
|
|
- @ApiParam("定位") @RequestParam(value ="location", required = false) String location) throws Exception{
|
|
50
|
+ @ApiParam("定位") @RequestParam(value ="location", required = false) String location,
|
|
51
|
+ @ApiParam("分类") @RequestParam(value ="typeId", required = false) String typeId) throws Exception{
|
51
|
52
|
|
52
|
53
|
IPage<ResourceListVO> pg = new Page<>(pageNum, pageSize);
|
53
|
|
- IPage<ResourceListVO> result = iTaResourceService.getWxPagedBy(pg, getCurrentPerson(), location);
|
|
54
|
+ IPage<ResourceListVO> result = iTaResourceService.getWxPagedBy(pg, getCurrentPerson(), location, typeId);
|
54
|
55
|
return ResponseBean.success(result);
|
55
|
56
|
}
|
56
|
57
|
|