|
|
|
@ -328,6 +328,21 @@ public class HomeController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("专题活动列表")
|
|
|
|
|
@GetMapping("/special_list.html")
|
|
|
|
|
public String specialList(ModelMap mmap,
|
|
|
|
|
@RequestParam(required = false, defaultValue = "2") String columnType) {
|
|
|
|
|
LambdaQueryWrapper<SysColumn> queryWrapper= new LambdaQueryWrapper<>();
|
|
|
|
|
queryWrapper.eq(SysColumn::getColumnType, columnType);
|
|
|
|
|
queryWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE);
|
|
|
|
|
queryWrapper.eq(SysColumn::getStatus,STATUS);
|
|
|
|
|
queryWrapper.orderByAsc(SysColumn::getOrderNum);
|
|
|
|
|
List<SysColumn> columnList = columnService.list(queryWrapper);
|
|
|
|
|
mmap.put("columnList", columnList);
|
|
|
|
|
return "home/special_list";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("详情")
|
|
|
|
|
@GetMapping("/public_view.html")
|
|
|
|
|
public String notice(ModelMap mmap,@RequestParam(required = false) String type, @RequestParam String id) {
|
|
|
|
|