18 lines
391 B
JavaScript
18 lines
391 B
JavaScript
import request from '@/common/system/request';
|
|
|
|
export const getConfig = async () => {
|
|
let res = await request.get('Common/GetConfigV3', {});
|
|
return res.data;
|
|
}
|
|
|
|
/**
|
|
* 获取公告
|
|
* @param {Number} id 9:首页滚动公告
|
|
* @returns
|
|
*/
|
|
export const getNoticeInfo = async (id) => {
|
|
let res = await request.getOrCache("Notice/NoticeInfo", { id: id })
|
|
return res.data;
|
|
}
|
|
|