master
parent
404f291559
commit
9f4fab8e15
@ -0,0 +1,43 @@
|
||||
package com.jingcheng.cms.service;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.jingcheng.cms.util.AjaxResult;
|
||||
import com.jingcheng.cms.util.PageAjax;
|
||||
import com.jingcheng.cms.vo.CaseContentBakVo;
|
||||
import com.jingcheng.cms.vo.CaseContentDetailBakVo;
|
||||
import com.jingcheng.cms.vo.CaseContentDetailVo;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
public interface CaseContentService<CaseContent> extends BaseService<CaseContent> {
|
||||
JSONObject getContentListByCategoryId(Long categoryId, Integer pageNum, Integer pageSize);
|
||||
|
||||
CaseContentDetailVo getContentDetailByContentId(Long contentId) throws UnsupportedEncodingException;
|
||||
|
||||
AjaxResult saveContent(JSONObject jsonObject);
|
||||
|
||||
AjaxResult delContent(Long contentId);
|
||||
|
||||
/**
|
||||
* 后台搜索文章
|
||||
* @param name
|
||||
* @param level1
|
||||
* @param level2
|
||||
* @param level3
|
||||
* @return
|
||||
*/
|
||||
PageAjax<CaseContentBakVo> searchBakContentByParam(String name, Long level1, Long level2, Long level3, Integer pageNum);
|
||||
|
||||
CaseContentDetailBakVo getCaseContentDetailBakVoByContentID(Long contentId) throws UnsupportedEncodingException;
|
||||
|
||||
/**
|
||||
* 转发文章记录
|
||||
*/
|
||||
AjaxResult forwardContent(Long contentId);
|
||||
|
||||
/**
|
||||
* 获取所有的文章列表
|
||||
* @return
|
||||
*/
|
||||
AjaxResult getAllContentList();
|
||||
}
|
Loading…
Reference in New Issue