fix:修复bug

This commit is contained in:
2026-01-22 10:52:58 +08:00
parent b0daa7b59b
commit 6a1dff4b94
46 changed files with 3779 additions and 2522 deletions
+33 -7
View File
@@ -27,12 +27,38 @@ export const getCommonByBrand = (brandName) => {
})
}
// 查询激活的且临近关闭时间最近的活动
export const getActiveActivity = () => {
return request({
url: '/device/activity/agent/list',
method: 'get',
hideLoading: true
})
// 获取当前协议内容
export const getCurrentAgreement = (data) => {
return request({
url: '/device/agreementConfig/current',
method: 'get',
data
})
}
// 获取当前广告内容
export const getCurrentAdvertisement = (data) => {
return request({
url: '/device/advertisementConfig/current',
method: 'get',
data
})
}
// 获取当前公告内容
export const getCurrentAnnouncement = (data) => {
return request({
url: '/device/announcementConfig/current',
method: 'get',
data
})
}
export const getActiveActivity = (data) => {
return request({
url: '/device/activeActivity/current',
method: 'get',
data
})
}