30 lines
678 B
JavaScript
30 lines
678 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'
|
|
})
|
|
}
|
|
|
|
// 根据品牌名称获取客服信息
|
|
export const getCommonByBrand = (brandName) => {
|
|
return request({
|
|
url: `/device/common/by/${brandName}`,
|
|
method: 'get',
|
|
hideLoading: true
|
|
})
|
|
}
|
|
|