|
@@ -7,6 +7,8 @@ import com.huiju.estateagents.base.ResponseBean;
|
7
|
7
|
import com.huiju.estateagents.entity.TdBuildingType;
|
8
|
8
|
import com.huiju.estateagents.service.ITdBuildingTypeService;
|
9
|
9
|
import io.swagger.annotations.Api;
|
|
10
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
11
|
+import io.swagger.annotations.ApiImplicitParams;
|
10
|
12
|
import io.swagger.annotations.ApiOperation;
|
11
|
13
|
import org.slf4j.Logger;
|
12
|
14
|
import org.slf4j.LoggerFactory;
|
|
@@ -48,6 +50,10 @@ public class TdBuildingTypeController extends BaseController {
|
48
|
50
|
* @return
|
49
|
51
|
*/
|
50
|
52
|
@ApiOperation(value = "查询项目类型", notes = "查询项目类型")
|
|
53
|
+ @ApiImplicitParams({
|
|
54
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, name = "pageNum", paramType = "query",value = "第几页"),
|
|
55
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, name = "pageSize", paramType = "query",value = "一页多少行")
|
|
56
|
+ })
|
51
|
57
|
@RequestMapping(value="/admin/tdBuildingType",method= RequestMethod.GET)
|
52
|
58
|
public ResponseBean tdBuildingTypeList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
53
|
59
|
@RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|