1234567891011121314151617 |
- const { http } = uni.$u
- // 获取菜单
- export const fetchMenu = (params, config = {}) => http.post(
- '/ebapi/public_api/index', params, config);
- export const fetchContentInfo = (params) => http.get('/cp/contentInfo/list',
- { params });
- export const fetchContentDetail = (id) => http.get(`/cp/contentInfo/${id}`);
- export const fetchMsgList = (params) => http.get('/cp/msg/list',
- { params });
- export const fetchViewCfgList = (params) => http.get('/cp/viewcfg/list',
- { params });
- export const fetchFileList = (params) => http.get('/cp/fileInfo/list',
- { params });
|