| @@ -90,5 +90,11 @@ public class YqzjAboutUsController extends YqzjBaseController { | |||||
| return new ResultData(); | return new ResultData(); | ||||
| } | } | ||||
| @ApiOperation("concact") | |||||
| @GetMapping("concact") | |||||
| public ResultData concact() { | |||||
| return new ResultData(yqzjService.findGuangGaoWeiByType(EnumYqzjGuangGaoWeiType.ABOUT_US_CONCAT.getCode())); | |||||
| } | |||||
| } | } | ||||
| @@ -76,5 +76,11 @@ public class YqzjAboutUsController extends YqzjBaseController { | |||||
| final PageInfo<YqzjLunBoTu> page = this.lunbotuPageList(record, EnumYqzjLunboType.ABOUNTUS_MEMBER.getCode(), pageNum, pageSize); | final PageInfo<YqzjLunBoTu> page = this.lunbotuPageList(record, EnumYqzjLunboType.ABOUNTUS_MEMBER.getCode(), pageNum, pageSize); | ||||
| return new ResultData(page); | return new ResultData(page); | ||||
| } | } | ||||
| @ApiOperation("concact") | |||||
| @GetMapping("concact") | |||||
| public ResultData concact() { | |||||
| return new ResultData(yqzjService.findGuangGaoWeiByType(EnumYqzjGuangGaoWeiType.ABOUT_US_CONCAT.getCode())); | |||||
| } | |||||
| } | } | ||||
| @@ -63,4 +63,13 @@ public class YqzjNewsController extends YqzjBaseController { | |||||
| return new ResultData(page); | return new ResultData(page); | ||||
| } | } | ||||
| @AuthIgnore | |||||
| @ApiOperation("详情") | |||||
| @GetMapping("detail") | |||||
| @ApiImplicitParams({ | |||||
| @ApiImplicitParam(name = "id", value = "页数", dataType = "int", paramType = "query", required = true)}) | |||||
| public ResultData detail(@ModelAttribute YqzjNews record) { | |||||
| return new ResultData(yqzjService.findNewsById(record.getId())); | |||||
| } | |||||
| } | } | ||||
| @@ -21,7 +21,8 @@ public enum EnumYqzjGuangGaoWeiType { | |||||
| AIGC_1(8,"AIGC广告位1"), | AIGC_1(8,"AIGC广告位1"), | ||||
| AIGC_2(9,"AIGC广告位2"), | AIGC_2(9,"AIGC广告位2"), | ||||
| AIGC_SHUZIREN(10,"AIGC数字人说明"), | AIGC_SHUZIREN(10,"AIGC数字人说明"), | ||||
| ABOUT_US(11,"关于我们") | |||||
| ABOUT_US(11,"关于我们"), | |||||
| ABOUT_US_CONCAT(12,"商务合作") | |||||
| ; | ; | ||||
| public static EnumYqzjGuangGaoWeiType getEnum(Integer code) { | public static EnumYqzjGuangGaoWeiType getEnum(Integer code) { | ||||