diff --git a/renren-admin/src/main/java/io/renren/modules/demanData/controller/TDemandDataController.java b/renren-admin/src/main/java/io/renren/modules/demanData/controller/TDemandDataController.java index f077d19d..3b07af35 100644 --- a/renren-admin/src/main/java/io/renren/modules/demanData/controller/TDemandDataController.java +++ b/renren-admin/src/main/java/io/renren/modules/demanData/controller/TDemandDataController.java @@ -48,7 +48,8 @@ public class TDemandDataController { @ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType = "String"), @ApiImplicitParam(name = "creator", value = "创建者id", paramType = "query", dataType = "Long"), @ApiImplicitParam(name = "flag", value = "状态", paramType = "query", dataType = "Int"), - @ApiImplicitParam(name = "detailsType", value = "需求类型", paramType = "query", dataType = "String") + @ApiImplicitParam(name = "detailsType", value = "需求类型", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = Constant.SEARCHKEY, value = "模糊查询关键字", paramType = "query", dataType = "String") }) // @RequiresPermissions("demanData:tdemanddata:page") public Result> page(@ApiIgnore @RequestParam Map params) { diff --git a/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java b/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java index a2b64551..310de68b 100644 --- a/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java +++ b/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java @@ -53,7 +53,7 @@ public class TDemandCommentController { @ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType = "String"), @ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType = "String"), @ApiImplicitParam(name = "targetId", value = "评论主题id", paramType = "query", dataType = "Long"), - @ApiImplicitParam(name = "searchKey", value = "模糊查询关键字", paramType = "query", dataType = "String") + @ApiImplicitParam(name = Constant.SEARCHKEY, value = "模糊查询关键字", paramType = "query", dataType = "String") }) // @RequiresPermissions("demandComment:tdemandcomment:page") public Result> page(@ApiIgnore @RequestParam Map params) { @@ -73,7 +73,8 @@ public class TDemandCommentController { @ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query", required = true, dataType = "int"), @ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType = "String"), @ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType = "String"), - @ApiImplicitParam(name = "targetId", value = "评论主题id", paramType = "query", dataType = "Long") + @ApiImplicitParam(name = "targetId", value = "评论主题id", paramType = "query", dataType = "Long"), + @ApiImplicitParam(name = Constant.SEARCHKEY, value = "模糊查询关键字", paramType = "query", dataType = "String") }) // @RequiresPermissions("demandComment:tdemandcomment:page") public Result> myCommentPage(@ApiIgnore @RequestParam Map params) {