增加员工收银权限设置

This commit is contained in:
GaoHao
2025-04-02 18:17:35 +08:00
parent 5e6646b574
commit db05de04a5
3 changed files with 73 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
import http from '@/http/http.js'
const request = http.request
/**
* 获取所有页面路径
* @returns
*/
export function getshopPagePermission(data, urlType = 'account') {
return request({
url: `${urlType}/admin/shopPagePermission`,
method: "GET",
data: {
...data
}
})
}
/**
* 获取员工拥有页面路径
* @returns
*/
export function getshopPagePermissionDetail(data, urlType = 'account') {
return request({
url: `${urlType}/admin/shopPagePermission/detail`,
method: "GET",
data: {
...data
}
})
}