mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-07 01:18:54 +08:00
feat: 新增消息模板聚合接口及通知类站内信邮箱状态更新功能
- 在 setting.js 中添加了消息模板聚合分页接口和更新通知类站内信邮箱渠道开关的功能。 - 在 axios.js 中重构了 token 刷新和登录重定向逻辑,避免循环依赖。 - 新增 router-holder.js 文件以延迟持有 router 实例,优化依赖管理。 - 更新 util.js 中的动态路由管理逻辑,确保在无 router 实例时不执行相关操作。
This commit is contained in:
@@ -196,3 +196,13 @@ export const verificationPage = (params) => {
|
||||
export const getNoticeMessageDetail = (id, params) => {
|
||||
return getRequest(`/setting/noticeMessage/${id}`, params)
|
||||
}
|
||||
|
||||
// 消息模板聚合分页(站内信 + 微信服务号 + 小程序)
|
||||
export const getMessageTemplateAggregatePage = params => {
|
||||
return getRequest("/setting/noticeMessage/aggregate", params);
|
||||
};
|
||||
|
||||
// 修改通知类站内信邮箱渠道开关
|
||||
export const updateNoticeMessageEmailStatus = (id, status) => {
|
||||
return putRequest(`/setting/noticeMessage/${id}/email/${status}`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user