店铺菜单管api 补充提交
parent
b2b56178a2
commit
4ef2496221
|
@ -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) => {
|
||||
return getRequest("/setting/log/getAllByPage", params);
|
||||
|
|
Loading…
Reference in New Issue