专家部分CMS

master
王家东 2 weeks ago
parent cbf307f79e
commit 91d1b4fb5b
  1. 4
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java

@ -729,9 +729,7 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
@ApiOperation(value="专家CMS详细信息需要的,参数为专家的id", notes="专家CMS详细信息需要的,参数为专家的id") @ApiOperation(value="专家CMS详细信息需要的,参数为专家的id", notes="专家CMS详细信息需要的,参数为专家的id")
@GetMapping(value = "CMSexpinfo") @GetMapping(value = "CMSexpinfo")
public Result<ExpCmsVo> CMSexpinfo(@RequestParam(name="id",required=true) String id, public Result<ExpCmsVo> CMSexpinfo(@RequestParam(name="id",required=true) String id) {
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize) {
Expert expert = expertService.getById(id); Expert expert = expertService.getById(id);
SysUser sysUser=sysUserService.query().eq("username",expert.getSeusername()).one(); SysUser sysUser=sysUserService.query().eq("username",expert.getSeusername()).one();
ExpCmsVo expCmsVo = new ExpCmsVo(); ExpCmsVo expCmsVo = new ExpCmsVo();

Loading…
Cancel
Save