style:样式重构
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user