| | |
| | | package com.yeshi.fanli.service.inter.goods;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.dto.common.CommonContentNav;
|
| | | import com.yeshi.fanli.dto.common.CommonContentResult;
|
| | | import com.yeshi.fanli.dto.common.CommonContentTypeEnum;
|
| | |
|
| | | /**
|
| | | * 商品模板内容服务
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface CommonTemplateContentService {
|
| | | /**
|
| | | * 获取导航栏
|
| | | * |
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | public List<CommonContentNav> getNavList(CommonContentTypeEnum type);
|
| | |
|
| | | /**
|
| | | * 获取内容列表
|
| | | * |
| | | * @param type
|
| | | * @param cid
|
| | | * @param page
|
| | | * @param pageSize
|
| | | * @return
|
| | | */
|
| | | public CommonContentResult getContentList(CommonContentTypeEnum type, String cid, int page, int pageSize);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.goods; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.dto.common.CommonContentNav; |
| | | import com.yeshi.fanli.dto.common.CommonContentResult; |
| | | import com.yeshi.fanli.dto.common.CommonContentTypeEnum; |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | |
| | | /** |
| | | * 商品模板内容服务 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface CommonTemplateContentService { |
| | | /** |
| | | * 获取导航栏 |
| | | * |
| | | * @param type |
| | | * @return |
| | | */ |
| | | public List<CommonContentNav> getNavList(CommonContentTypeEnum type,SystemEnum system); |
| | | |
| | | /** |
| | | * 获取内容列表 |
| | | * |
| | | * @param type |
| | | * @param cid |
| | | * @param page |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | public CommonContentResult getContentList(CommonContentTypeEnum type, String cid, int page, int pageSize, SystemEnum system); |
| | | |
| | | } |