1
2
3
4
5
6
7
8
9
10
| import axios from '@/utils/request'
| export let advert = (params, config = {}) => axios.post('/Api/Advert/GetPositionList', params, { custom: { methodName: 'advert.getcarousellists', needToken: false } });
| // 获取公告列表
| export let notice = (params, config = {}) => axios.post('/Api/Notice/NoticeList', params, { custom: { methodName: 'notice.noticeList', needToken: false } });
| // 获取公告详情
| export let noticeInfo = (params, config = {}) => axios.post('/Api/Notice/NoticeInfo', params, { custom: { methodName: 'notice.noticeInfo', needToken: false } });
| // 获取文章详情
| export let articleInfo = (params, config = {}) => axios.post('/Api/Article/GetArticleDetail', params, { custom: { methodName: 'articles.getArticleDetail', needToken: false } });
| // 获取文章列表
| export let articleList = (params, config = {}) => axios.post('/Api/Article/GetArticleList', params, { custom: { methodName: 'articles.getArticleList', needToken: false } });
|
|