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 }) } // 查询激活的且临近关闭时间最近的活动 export const getActiveActivity = () => { return request({ url: '/device/activity/agent/list', method: 'get', hideLoading: true }) }