修改手机端PC端接口分离
This commit is contained in:
+39
@@ -0,0 +1,39 @@
|
|||||||
|
package com.jero.modules.todoCenter.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.jero.common.api.vo.Result;
|
||||||
|
import com.jero.common.aspect.annotation.AutoLog;
|
||||||
|
import com.jero.modules.todoCenter.service.IParamsManifestTodoCenterService;
|
||||||
|
import com.jero.modules.todoCenter.vo.ParamsManifestTodoCenterEOPage;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: liyawei
|
||||||
|
* @Description:
|
||||||
|
* @Date: Created in 09:43 2022/10/11
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Api(tags="待办中心-参数清单")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/phone/todoCenter/params/manifest")
|
||||||
|
@Slf4j
|
||||||
|
public class PhoneParamsManifestTodoCenterController {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IParamsManifestTodoCenterService paramsManifestTodoCenterService;
|
||||||
|
|
||||||
|
@AutoLog(value = "分页查询")
|
||||||
|
@ApiOperation(value="分页查询", notes="分页查询")
|
||||||
|
@GetMapping(value = "/page")
|
||||||
|
// @RequiresPermissions("params:collectManifest:list")
|
||||||
|
public Result<?> page(ParamsManifestTodoCenterEOPage pageVO) {
|
||||||
|
IPage page = paramsManifestTodoCenterService.queryPage(pageVO);
|
||||||
|
return Result.OK(page);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user