Your Name 4 年之前
父節點
當前提交
b7c91f7b49
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4
    3
      src/main/java/com/shigongli/controller/TaMateTagGroupController.java

+ 4
- 3
src/main/java/com/shigongli/controller/TaMateTagGroupController.java 查看文件

@@ -54,10 +54,11 @@ public class TaMateTagGroupController extends BaseController {
54 54
      * @param pageSize
55 55
      * @return
56 56
      */
57
-    @RequestMapping(value="/mp/taMateTagGroup",method= RequestMethod.GET)
57
+    @RequestMapping(value="/{client}/taMateTagGroup",method= RequestMethod.GET)
58 58
     @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
59
-    public ResponseBean taMateTagGroupList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
60
-									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
59
+    public ResponseBean taMateTagGroupList(@ApiParam(value = "客户端", allowableValues = "mp,ma") @PathVariable("client") String client,
60
+                                           @ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
61
+                                           @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
61 62
 
62 63
         IPage<TaMateTagGroup> pg = new Page<>(pageNum, pageSize);
63 64
         QueryWrapper<TaMateTagGroup> queryWrapper = new QueryWrapper<>();