[TOC]
## 權限列表
~~~[api]
post:/competence/list
<<<
success
{
"code": 0,
"info": "成功",
"data": [{
"id": 0,
"title": "公共權限",
"child": [{
"id": 1,
"state": 0,
"title": "基礎信息",
"sort": 0,
"type": 0,
"about": null,
"child": [{
"id": 4,
"state": 0,
"title": "門店管理",
"sort": 0,
"type": 1,
"about": null
}, {
"id": 5,
"state": 0,
"title": "員工管理",
"sort": 0,
"type": 1,
"about": null
}, {
"id": 6,
"state": 0,
"title": "職務管理",
"sort": 0,
"type": 1,
"about": null
}, {
"id": 7,
"state": 0,
"title": "商品管理",
"sort": 0,
"type": 1,
"about": null
}, {
"id": 8,
"state": 0,
"title": "權限管理",
"sort": 0,
"type": 1,
"about": null
}]
}, {
"id": 2,
"state": 0,
"title": "會員管理",
"sort": 0,
"type": 0,
"about": null,
"child": [{
"id": 9,
"state": 0,
"title": "標簽管理",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 10,
"state": 0,
"title": "生日提醒",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 11,
"state": 0,
"title": "積分規則",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 12,
"state": 0,
"title": "售后待辦",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 13,
"state": 0,
"title": "會員等級",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 14,
"state": 0,
"title": "會員待辦",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 15,
"state": 0,
"title": "群發消息",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 16,
"state": 0,
"title": "編輯會員",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 17,
"state": 0,
"title": "關鍵詞回復",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 18,
"state": 0,
"title": "自定義菜單",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 19,
"state": 0,
"title": "客服消息設置",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 20,
"state": 0,
"title": "會員卡設置",
"sort": 0,
"type": 2,
"about": null
}, {
"id": 21,
"state": 0,
"title": "電子券管理",
"sort": 0,
"type": 2,
"about": null
}]
}, {
"id": 3,
"state": 0,
"title": "銷售下單",
"sort": 0,
"type": 0,
"about": null,
"child": [{
"id": 22,
"state": 0,
"title": "銷售下單",
"sort": 0,
"type": 3,
"about": null
}, {
"id": 23,
"state": 0,
"title": "訂單記錄",
"sort": 0,
"type": 3,
"about": null
}]
}]
}, {
"id": 1,
"title": "淘寶店",
"child": [{
"id": 24,
"state": 1,
"title": "撤銷訂單",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 25,
"state": 1,
"title": "會員發展統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 26,
"state": 1,
"title": "銷售統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 27,
"state": 1,
"title": "會員統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 28,
"state": 1,
"title": "客服經理",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 29,
"state": 1,
"title": "聊天記錄",
"sort": 0,
"type": 0,
"about": null
}]
}, {
"id": 2,
"title": "京東店",
"child": [{
"id": 24,
"state": 1,
"title": "撤銷訂單",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 25,
"state": 1,
"title": "會員發展統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 26,
"state": 1,
"title": "銷售統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 27,
"state": 1,
"title": "會員統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 28,
"state": 1,
"title": "客服經理",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 29,
"state": 1,
"title": "聊天記錄",
"sort": 0,
"type": 0,
"about": null
}]
}, {
"id": 3,
"title": "東大街店",
"child": [{
"id": 24,
"state": 1,
"title": "撤銷訂單",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 25,
"state": 1,
"title": "會員發展統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 26,
"state": 1,
"title": "銷售統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 27,
"state": 1,
"title": "會員統計",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 28,
"state": 1,
"title": "客服經理",
"sort": 0,
"type": 0,
"about": null
}, {
"id": 29,
"state": 1,
"title": "聊天記錄",
"sort": 0,
"type": 0,
"about": null
}]
}]
}
<<<
error
~~~
## 權限用戶
~~~[api]
post:/competence/user
*string:id=默認值#門店id ,如果是全局權限就傳0
*com_id#權限ID
<<<
success
{
"code": 0,
"info": "成功",
"data": [{
"id": 1,
"title": "淘寶店",
"child": [{
"id": 1003,
"name": "颯颯",
"shop_id": 1,
"checked": false
}, {
"id": 1004,
"name": "胡歌",
"shop_id": 1,
"checked": false
}, {
"id": 1009,
"name": "陳鵬",
"shop_id": 1,
"checked": false
}, {
"id": 1011,
"name": "測試用戶",
"shop_id": 1,
"checked": false
}]
}, {
"id": 2,
"title": "京東店",
"child": [{
"id": 1000,
"name": "老板",
"shop_id": 2,
"checked": false
}, {
"id": 1001,
"name": "李亮",
"shop_id": 2,
"checked": false
}, {
"id": 1002,
"name": "王偉",
"shop_id": 2,
"checked": false
}]
}, {
"id": 3,
"title": "東大街店",
"child": [{
"id": 1005,
"name": "金哥",
"shop_id": 3,
"checked": false
}, {
"id": 1006,
"name": "周倜2",
"shop_id": 3,
"checked": false
}, {
"id": 1007,
"name": "周倜",
"shop_id": 3,
"checked": false
}, {
"id": 1008,
"name": "梁海鵬",
"shop_id": 3,
"checked": false
}]
}]
}
<<<
error
~~~
## 設置權限用戶
~~~[api]
post:/competence/edit
*string:id#門店ID ,全局為0
*com_id#權限ID
*array:user_id#員工id數組
<<<
success
{
"code": 0,
"info": "成功",
"data": 2
}
<<<
error
~~~
- 全局說明
- 微信相關接口
- 首頁
- 系統消息
- 消息中心
- 基礎設置
- 門店管理
- 員工管理
- 職務管理
- 會員
- 標簽管理
- 會員管理
- 會員等級
- 會員等級權益
- 會員權益核銷
- 聊天記錄
- 會員等級電子券
- 商品
- 商品分類
- 商品品牌
- 商品管理
- 訂單
- 設置
- 生日提醒
- 積分規則
- 客服消息設置
- 群發消息
- 會員/售后待辦
- 關鍵字回復
- 自定義菜單
- 會員卡號規則設置
- 會員卡ID設置
- 客服經理
- 小算盤設置
- 個人中心
- 員工我的待辦列表
- 跟進
- 會員動態
- 會員積分/余額
- 訂單記錄列表
- 個人中心詳情頁面
- 會員待辦列表
- 會員電子券
- 客戶平臺
- 會員聊天
- 我的顧問
- 客戶訂單
- 客戶中心
- 客戶電子券
- 我的動態
- 會員積分/余額
- 統計
- 會員統計
- 會員發展統計
- 銷售統計
- 待辦統計
- 電子券統計
- 會員等級變更統計
- 積分統計
- 余額統計
- 電子券核銷統計
- 權限管理
- 員工權限
- 電子券
- 訂單滿額
- 訂單電子券
- 商品組電子券
- 群發電子券
- 一對一投放
- 商品組
- 商品組商品
- 會員分配
- PC版相關
- 導出相關
- 開通流程頁面
- 合作商家
- 商家相關
- 引流券相關
- 合作商家
- 領取功能
- 打印設置
- 小算盤
- e學堂
- 獲取Openid