路径修改

master
fengtianyangyang 2022-01-25 12:01:40 +08:00
parent f46330ecf0
commit e5918b041a
8 changed files with 46 additions and 46 deletions

View File

@ -109,7 +109,7 @@ export function afterSaleDelivery (params) {
// 获取退货可选物流公司
export function getLogisticsCompany () {
return request({
url: `/buyer/logistics`,
url: `/buyer/other/logistics`,
method: Method.GET,
needToken: true,
params: { pageNumber: 1, pageSize: 200, disabled: 'OPEN' }

View File

@ -263,15 +263,15 @@ export const searchPermission = (params) => {
// 分页获取日志数据
export const getLogListData = (params) => {
return getRequest("/log/getAllByPage", params);
return getRequest("/setting/log/getAllByPage", params);
};
// 删除日志
export const deleteLog = (ids, params) => {
return deleteRequest(`/log/${ids}`, params);
return deleteRequest(`/setting/log/${ids}`, params);
};
// 清空日志
export const deleteAllLog = (params) => {
return deleteRequest("/log", params);
return deleteRequest("/setting/log", params);
};
@ -339,22 +339,22 @@ export const setSetting = (key, params) => {
// 分页查询敏感词
export const getSensitiveWordsPage = (params) => {
return getRequest(`/sensitiveWords`, params);
return getRequest(`/other/sensitiveWords`, params);
};
// 分页查询敏感词
export const insertSensitiveWords = (params) => {
return postRequest(`/sensitiveWords`, params);
return postRequest(`/other/sensitiveWords`, params);
};
// 修改
export const updateSensitiveWords = (id, params) => {
return putRequest(`/sensitiveWords/${id}`, params);
return putRequest(`/other/sensitiveWords/${id}`, params);
};
// 删除敏感词
export const delSensitive = (ids) => {
return deleteRequest(`/sensitiveWords/delByIds/${ids}`);
return deleteRequest(`/other/sensitiveWords/delByIds/${ids}`);
};
// 添加商品计量单位
@ -376,26 +376,26 @@ export const delGoodsUnit = (ids) => {
// 同步高德行政地区数据
export const asyncRegion = () => {
return postRequest(`/region/sync`);
return postRequest(`/setting/region/sync`);
};
// 批量id删除
export const delRegion = (ids) => {
return deleteRequest(`/region/${ids}`);
return deleteRequest(`/setting/region/${ids}`);
};
// 更新地区
export const updateRegion = (id, params) => {
return putRequest(`/region/${id}`, params);
return putRequest(`/setting/region/${id}`, params);
};
// 添加地区
export const addRegion = (params) => {
return postRequest(`/region`, params);
return postRequest(`/setting/region`, params);
};
// 通过id获取子地区
export const getChildRegion = (id) => {
return getRequest(`/region/item/${id}`);
return getRequest(`/setting/region/item/${id}`);
};
// 重置用户密码

View File

@ -10,23 +10,23 @@ import {
// 分页获取物流公司
export const getLogisticsPage = params => {
return getRequest(`/logistics/getByPage`, params);
return getRequest(`/other/logistics/getByPage`, params);
};
// 删除
export const delLogistics = id => {
return deleteRequest(`/logistics/delete/${id}`);
return deleteRequest(`/other/logistics/delete/${id}`);
};
// 添加
export const addLogistics = params => {
return postRequest(`/logistics/save`,params);
return postRequest(`/other/logistics/save`,params);
};
// 通过id查询详情
export const getLogisticsDetail = id => {
return getRequest(`/logistics/get/${id}`);
return getRequest(`/other/logistics/get/${id}`);
};
// 编辑
export const updateLogistics = (id,params) => {
return putRequest(`/logistics/${id}`,params);
return putRequest(`/other/logistics/${id}`,params);
};

View File

@ -123,7 +123,7 @@ export const getAfterSaleTraces = (sn) => {
}
// 获取商家选中的物流公司
export const getLogisticsChecked = () => {
return getRequest(`/logistics/getChecked`)
return getRequest(`/other/logistics/getChecked`)
}
//查询物流

View File

@ -20,37 +20,37 @@ export const editNoticeMessage = (id, params) => {
//微信消息同步
export const wechatMessageSync = (params) => {
return getRequest("/message/wechat/init", params)
return getRequest("/wechat/wechatMessage/init", params)
}
//分页获取微信消息
export const getWechatMessagePage = (params) => {
return getRequest("/message/wechat", params)
return getRequest("/wechat/wechatMessage", params)
}
//编辑微信消息模版
export const editWechatMessageTemplate = (id, params) => {
return putRequest(`/message/wechat/${id}`, params)
return putRequest(`/wechat/wechatMessage/${id}`, params)
}
//删除微信消息模版
export const delWechatMessageTemplate = (id, params) => {
return deleteRequest(`/message/wechat/${id}`, params)
return deleteRequest(`/wechat/wechatMessage/${id}`, params)
}
//微信消息订阅同步
export const wechatMPMessageSync = (params) => {
return getRequest("/message/wechatMPMessage/init", params)
return getRequest("/wechat/wechatMPMessage/init", params)
}
//分页获取微信消息订阅
export const getWechatMPMessagePage = (params) => {
return getRequest("/message/wechatMPMessage", params)
return getRequest("/wechat/wechatMPMessage", params)
}
//编辑微信消息订阅模版
export const editWechatMPMessageTemplate = (id, params) => {
return putRequest(`/message/wechatMPMessage/${id}`, params)
return putRequest(`/wechat/wechatMPMessage/${id}`, params)
}
//删除微信消息订阅模版
export const delWechatMPMessageTemplate = (id, params) => {
return deleteRequest(`/message/wechatMPMessage/${id}`, params)
return deleteRequest(`/wechat/wechatMPMessage/${id}`, params)
}
@ -118,19 +118,19 @@ export const smsSignDetail = (id) => {
//分页查询app版本信息
export const appVersionPage = (params) => {
return getRequest(`systems/app/version`, params);
return getRequest(`/other/appVersion`, params);
};
//添加app版本信息
export const addVersion = (params) => {
return postRequest(`systems/app/version`, params);
return postRequest(`/other/appVersion`, params);
};
//修改app版本信息
export const editVersion = (params, id) => {
return putRequest(`systems/app/version/${id}`, params);
return putRequest(`/other/appVersion/${id}`, params);
};
//删除app版本信息
export const deleteVersion = (id) => {
return deleteRequest(`systems/app/version/${id}`);
return deleteRequest(`/other/appVersion/${id}`);
};
//查询同城配送列表
export const getInstantDelivery = (params) => {
@ -164,32 +164,32 @@ export const sendSms = (params) => {
* 获取 支付支持设置开关
*/
export const getPaymentSupportForm = () => {
return getRequest(`system/settingx/paymentSupport`);
return getRequest(`setting/settingx/paymentSupport`);
}
// 验证码源文件删除
export const delVerification = (id) => {
return deleteRequest(`/verificationSource/${id}`)
return deleteRequest(`/other/verificationSource/${id}`)
}
// 添加验证码源文件
export const addVerification = (params) => {
return postRequest(`/verificationSource`, params)
return postRequest(`/other/verificationSource`, params)
}
// 修改验证码源文件
export const editVerification = (id, params) => {
return putRequest(`/verificationSource/${id}`, params)
return putRequest(`/other/verificationSource/${id}`, params)
}
// 验证码源文件详情
export const verificationDetail = (id) => {
return getRequest(`/verificationSource/${id}`)
return getRequest(`/other/verificationSource/${id}`)
}
// 验证码源文件列表
export const verificationPage = (params) => {
return getRequest(`/verificationSource`, params)
return getRequest(`/other/verificationSource`, params)
}
//获取通知类站内信

View File

@ -12,23 +12,23 @@ import {
// 分页获取物流公司
export const getLogisticsPage = params => {
return getRequest(`/logistics/getByPage`, params);
return getRequest(`/other/logistics/getByPage`, params);
};
// 删除
export const delLogistics = id => {
return deleteRequest(`/logistics/delete/${id}`);
return deleteRequest(`/other/logistics/delete/${id}`);
};
// 添加
export const addLogistics = params => {
return postRequest(`/logistics/save`,params);
return postRequest(`/other/logistics/save`,params);
};
// 通过id查询详情
export const getLogisticsDetail = id => {
return getRequest(`/logistics/get/${id}`);
return getRequest(`/other/logistics/get/${id}`);
};
// 编辑
export const updateLogistics = (id,params) => {
return putRequest(`/logistics/${id}`,params);
return putRequest(`/other/logistics/${id}`,params);
};

View File

@ -79,7 +79,7 @@ export const orderDelivery = (sn, params) => {
// 获取商家选中的物流公司
export const getLogisticsChecked = () => {
return getRequest(`/logistics/getChecked`);
return getRequest(`/other/logistics/getChecked`);
};
// 订单核验

View File

@ -39,17 +39,17 @@ export const getBillDetail = (id, params) => {
// 获取所有物流公司
export const getLogistics = (id, params) => {
return getRequest(`/logistics`, params)
return getRequest(`/other/logistics`, params)
}
// 开启物流公司
export const logisticsChecked = (id, params) => {
return postRequest(`/logistics/${id}`, params)
return postRequest(`/other/logistics/${id}`, params)
}
// 关闭开启物流公司
export const logisticsUnChecked = (id, params) => {
return deleteRequest(`/logistics/${id}`, params)
return deleteRequest(`/other/logistics/${id}`, params)
}
// 获取商家自提点
export const getShopAddress = (id, params) => {