21 lines
477 B
JavaScript
21 lines
477 B
JavaScript
import request from '../http'
|
|
|
|
// 获取系统配置(预留接口)
|
|
// 期望后端返回形如:{ code: 200, data: { expressReturnCountdownSeconds: number } }
|
|
export const getSystemConfig = () => {
|
|
return request({
|
|
url: '/app/system/config',
|
|
method: 'get',
|
|
hideLoading: true
|
|
})
|
|
}
|
|
|
|
// 获取通知接口
|
|
export const getNoticeTextData = (data) => {
|
|
return request({
|
|
url: `/system/notice/title/${data.title}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|