文档
测试

获取所有权限列表

POST
http://xhf.qmbzch.cn/api/auth/get_auth

响应参数

参数名
类型
描述
必填
state
string
示例:ok
必填
message
string
示例:ok
必填
auth
array
数据列表
必填
id
int
示例:1
必填
name
string
示例:出库
必填
path
string
示例:/
必填
component
string
示例:/outback
必填
parentid
int
示例:0
必填
meta
object
数据字典
必填
title
string
示例:title1
必填
icon
string
示例:icon
必填
children
array
数据列表
必填
id
int
示例:2
必填
name
string
示例:出库
必填
path
string
示例:/出库
必填
component
string
示例:/outback
必填
parentid
int
示例:1
必填
meta
object
数据字典
必填
title
string
示例:title2
必填
icon
string
示例:icon
必填
children
array
数据列表
必填
id
int
示例:3
必填
name
string
示例:出库操作2
必填
path
string
示例:/出库2
必填
component
string
示例:/outback
必填
parentid
int
示例:2
必填
meta
object
数据字典
必填
title
string
示例:title3
必填
icon
string
示例:icon
必填
children
array
数据列表
必填

说明 / 示例

{ "state": "ok", "message": "ok", "auth": [ { "id": 1, "name": "数据统计", "path": "", "parentid": 0, "component": "/outback", "meta": { "title": "title1", "icon": "icon" }, "children": [ { "id": 2, "name": "入库统计", "path": "/api/statistics/insert", "parentid": 1, "component": "/outback", "meta": { "title": "title2", "icon": "icon" }, "children": [] }, { "id": 3, "name": "出库统计", "path": "/api/statistics/delete", "parentid": 1, "component": "/outback", "meta": { "title": "title3", "icon": "icon" }, "children": [] }, { "id": 4, "name": "耗损统计", "path": "/api/statistics/attrition", "parentid": 1, "component": "/outback", "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 5, "name": "出库", "path": "", "parentid": 0, "component": "/outback", "meta": { "title": null, "icon": null }, "children": [ { "id": 6, "name": "出库首页", "path": "/api/warehousingout/index_sel", "parentid": 5, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 7, "name": "出库首页二级", "path": "/api/warehousingout/index_order_sel", "parentid": 5, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 8, "name": "添加出库", "path": "/api/warehousingout/add_stock_out", "parentid": 5, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 9, "name": "配送和批量配送", "path": "/api/warehousingout/distribution", "parentid": 5, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 10, "name": "取消和批量取消", "path": "/api/warehousingout/cancel_distribution", "parentid": 5, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 11, "name": "单个出库单详情", "path": "/api/warehousingout/distribution_info", "parentid": 5, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 12, "name": "登录注册", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 13, "name": "登录", "path": "/api/login/login", "parentid": 12, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 14, "name": "注册", "path": "/api/login/register", "parentid": 12, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 15, "name": "修改密码", "path": "/api/login/edit_password", "parentid": 12, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 16, "name": "管理员", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 17, "name": "查询单个管理员信息", "path": "/api/user/sel_user_list", "parentid": 16, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 18, "name": "添加管理员分类", "path": "/api/user/add_user_class", "parentid": 16, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 19, "name": "获取管理员分类列表", "path": "/api/user/sel_user_class", "parentid": 16, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 20, "name": "查询管理员列表", "path": "/api/user/sel_user_arr", "parentid": 16, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 21, "name": "供货商", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 22, "name": "添加供货商", "path": "/api/supplier/add_supplier", "parentid": 21, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 23, "name": "货物供货商列表", "path": "/api/supplier/sel_supplier_arr", "parentid": 21, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 24, "name": "供货商启用停用", "path": "/api/supplier/edit_state", "parentid": 21, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 25, "name": "修改供货商", "path": "/api/supplier/edit_supplier", "parentid": 21, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 26, "name": "客户", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 27, "name": "添加客户", "path": "/api/supplier/add_customer", "parentid": 26, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 28, "name": "修改客户", "path": "/api/supplier/edit_customer", "parentid": 26, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 29, "name": "获取单个客户详情", "path": "/api/customer/get_customer", "parentid": 26, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 30, "name": "设置客户启用状态", "path": "/api/customer/set_state", "parentid": 26, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 31, "name": "门店", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 32, "name": "添加门店", "path": "/api/store/add_store", "parentid": 31, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 33, "name": "修改门店", "path": "/api/store/edit_store", "parentid": 31, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 34, "name": "获取单个门店信息", "path": "/api/store/get_store", "parentid": 31, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 35, "name": "设置门店状态", "path": "/api/store/set_state", "parentid": 31, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 36, "name": "权限", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 37, "name": "获取所有权限列表", "path": "/api/auth/get_auth", "parentid": 36, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 38, "name": "获取自己权限", "path": "/api/auth/get_user_auth", "parentid": 36, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 39, "name": "获取指定用户的权限", "path": "/api/auth/get_appoint_user_auth", "parentid": 36, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 40, "name": "片区", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 41, "name": "添加片区", "path": "/api/distribution/add_distribution", "parentid": 40, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 42, "name": "添加片区分组", "path": "/api/distribution/add_distribution_group", "parentid": 40, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 43, "name": "入库", "path": null, "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 44, "name": "入库管理", "path": "/api/warehousing/index_sel", "parentid": 43, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 45, "name": "查询入库信息", "path": "/api/warehousing/ajax_get_product", "parentid": 43, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 46, "name": "获取单个库存信息", "path": "/api/warehousing/attrition_get", "parentid": 43, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 47, "name": "写入耗损", "path": "/api/warehousing/attrition_set", "parentid": 43, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 48, "name": "添加入库", "path": "/api/warehousing/add_stock", "parentid": 43, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 49, "name": "计量单位管理", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 50, "name": "添加基础计量单位", "path": "/api/company/company_add", "parentid": 49, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 51, "name": "添加单位分组", "path": "/api/company/add_company_grouping", "parentid": 49, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 52, "name": "修改单位分组", "path": "/api/company/company_grouping_edit", "parentid": 49, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 53, "name": "查看所有单位分组", "path": "/api/company/index_sel", "parentid": 49, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 54, "name": "查看单个分组详情", "path": "/api/company/index_sel", "parentid": 49, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 55, "name": "查看所有计量单位", "path": "/api/company/company_sel", "parentid": 49, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 56, "name": "货物和货物分类", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 57, "name": "添加货物分类", "path": "/api/product_class/add_product_class", "parentid": 56, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 58, "name": "修改货物分类", "path": "/api/product_class/edit_product_class", "parentid": 56, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 59, "name": "获取分类列表", "path": "/api/product_class/sel_product_class", "parentid": 56, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 60, "name": "删除货物分类", "path": "/api/product_class/del_product_class", "parentid": 56, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 61, "name": "添加货物", "path": "/api/product_class/add_product", "parentid": 56, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] }, { "id": 62, "name": "检疫报告", "path": "", "parentid": 0, "component": null, "meta": { "title": null, "icon": null }, "children": [ { "id": 63, "name": "添加检疫报告", "path": "/api/quarantinereport/quarantinereport_upload", "parentid": 62, "component": null, "meta": { "title": null, "icon": null }, "children": [] }, { "id": 64, "name": "修改检疫报告", "path": "/api/quarantinereport/quarantinereport_upload", "parentid": 62, "component": null, "meta": { "title": null, "icon": null }, "children": [] } ] } ] }