resolve conflict
parent
218cee2aef
commit
08b4a04791
|
@ -19,5 +19,9 @@ module.exports = {
|
||||||
aMapSwitch:false, //是否开启高德定位
|
aMapSwitch:false, //是否开启高德定位
|
||||||
enableCDN: true, //生产环境 是否启用cdn加载 vue等js
|
enableCDN: true, //生产环境 是否启用cdn加载 vue等js
|
||||||
port: 10000, //端口
|
port: 10000, //端口
|
||||||
inputMaxLength:'140' //全局输入框默认最大输入长度字
|
inputMaxLength:'140', //全局输入框默认最大输入长度字
|
||||||
|
|
||||||
|
|
||||||
|
PC_DOMAIN: "https://pc-b2b2c.pickmall.cn", // PC端域名
|
||||||
|
WAP_DOMAIN: "https://m-b2b2c.pickmall.cn", // WAP端域名
|
||||||
};
|
};
|
||||||
|
|
|
@ -261,6 +261,38 @@ export const searchPermission = (params) => {
|
||||||
/****************************** 权限结束 */
|
/****************************** 权限结束 */
|
||||||
|
|
||||||
|
|
||||||
|
/****************************** 店铺权限 */
|
||||||
|
// 获取全部权限数据
|
||||||
|
export const getStoreAllPermissionList = (params) => {
|
||||||
|
return getRequest("/permission/storeMenu/tree", params);
|
||||||
|
};
|
||||||
|
|
||||||
|
// 获取全部权限数据
|
||||||
|
export const getStoreCurrentPermissionList = (params) => {
|
||||||
|
return getRequest("/permission/storeMenu/memberMenu", params);
|
||||||
|
};
|
||||||
|
|
||||||
|
// 添加权限
|
||||||
|
export const addStorePermission = (params) => {
|
||||||
|
return postRequest("/permission/storeMenu", params);
|
||||||
|
};
|
||||||
|
|
||||||
|
// 编辑权限
|
||||||
|
export const editStorePermission = (params) => {
|
||||||
|
return putRequest(`/permission/storeMenu/${params.id}`, params);
|
||||||
|
};
|
||||||
|
// 删除权限
|
||||||
|
export const deleteStorePermission = (ids, params) => {
|
||||||
|
return deleteRequest(`/permission/storeMenu/${ids}`, params);
|
||||||
|
};
|
||||||
|
// 搜索权限
|
||||||
|
export const searchStorePermission = (params) => {
|
||||||
|
return getRequest("/permission/storeMenu", params);
|
||||||
|
};
|
||||||
|
|
||||||
|
/****************************** 权限结束 */
|
||||||
|
|
||||||
|
|
||||||
// 分页获取日志数据
|
// 分页获取日志数据
|
||||||
export const getLogListData = (params) => {
|
export const getLogListData = (params) => {
|
||||||
return getRequest("/setting/log/getAllByPage", params);
|
return getRequest("/setting/log/getAllByPage", params);
|
||||||
|
@ -458,4 +490,24 @@ export const getHotWordsHistory = (params) => {
|
||||||
return getRequest(`/hotwords/hotwords/history`,params);
|
return getRequest(`/hotwords/hotwords/history`,params);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 获取文件目录列表
|
||||||
|
export const getFileDirectory = () => {
|
||||||
|
return getRequest(commonUrl+`/common/resource/fileDirectory`);
|
||||||
|
};
|
||||||
|
|
||||||
|
// 添加文件目录
|
||||||
|
export const addFileDirectory = (params) => {
|
||||||
|
return postRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// 修改文件目录
|
||||||
|
export const updateFileDirectory = (params) => {
|
||||||
|
return putRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// 删除文件目录
|
||||||
|
export const delFileDirectory = (id) => {
|
||||||
|
return deleteRequest(commonUrl+`/common/resource/fileDirectory/${id}`);
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue