|
|
|
@ -49,7 +49,7 @@ public class SysTemplateController { |
|
|
|
|
@PostMapping("/listOfColumnTemplates") |
|
|
|
|
@ApiOperation(value = "获取文章模板列表、详情样式", response = SysTemplate.class) |
|
|
|
|
public R listOfColumnTemplates() { |
|
|
|
|
List<SysTemplate> list = templateService.list(new QueryWrapper<SysTemplate>().eq("type", 1)); |
|
|
|
|
List<SysTemplate> list = templateService.list(new QueryWrapper<SysTemplate>().eq("type", 1).eq("is_hide",0)); |
|
|
|
|
return R.success(list); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|