12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import { getHttp, postHttp } from "../request.js";
- /* 首页 */
- export const Home = {
- getNewList: (params) => {
- return getHttp("/home/new", params);
- },
- /*
- 列表
- PageSize * CurrentIndex * ChartPermissionId *品类id,最新传0
- */
- getList: (params) => {
- return getHttp("/home/artAndChart/list", params);
- },
- /* 获取品种 */
- Tab: (params) => {
- return getHttp("/permission/all", params, 0);
- },
- /* 首页-顶部导航 */
- headerTab: (params) => {
- return getHttp("/home/header_tab", params, 0);
- },
- /* 微路演列表 */
- microRoadshowList: (params) => {
- return getHttp("/micro_roadshow/list", params);
- },
- /* 新增视频播放记录 */
- microAideoHistoryAdd: (params) => {
- return postHttp("/micro_roadshow/videoHistory/add", params, 0);
- },
- /* 微路演留言 */
- microRoadshowAdd: (params) => {
- return postHttp("/micro_roadshow/comment/add", params, 0);
- },
- //微路演收藏
- microRoadshowCollect: (params) => {
- return postHttp("/micro_roadshow/collect", params);
- },
- /* banner 列表 */
- bannerList: (params) => {
- return getHttp("/banner/list", params, 0);
- },
- /* banner 记录点击信息 */
- bannerHistory: (params) => {
- return postHttp("/banner/add/history", params, 0);
- },
- /* 获取标签列表 */
- homeTagListCustom: (params) => {
- return getHttp("/tag/list/custom", params, 0);
- },
- /* 标签记录点击信息 */
- tagAddHistory: (params) => {
- return postHttp("/tag/add/history", params, 0);
- },
- };
|