[TOC]
### 獲取平臺列表
#### URL
> web/index.php?c=account&a=manage&do=account_list
#### 請求方式
> GET
#### 請求參數
| 名稱 | 類型 | 必填 | 描述 | 值 |
| ----------- | :-----: | :-----: | ----------- |
| account_type | string | 否 | 平臺類型 | account, wxapp, webapp, phoneapp, xzapp, aliapp, baiduapp, toutiaoapp |
| order | string | 否 | 創建時間排序 | asc, desc 默認倒序 |
| type | string | 否 | 到期篩選 | expire 已到期, unexpire 未到期 |
| keyword | string | 否 | 關鍵詞 | 用戶輸入 |
| page | int | 否 | 頁碼 | | |
#### 返回數據
```
{
"message": {
"errno": 0,
"message": {
"total": 15, //記錄總數
"page": 1, //當前頁碼
"page_size": 2, //每頁數量
"pager": "", //分頁html, 免費版不返回此項數據
"list": [
{
"acid": "100673", //平臺acid
"uniacid": "1396", //平臺uniacid
"token": "rAS0dqQ49XA0OsUj1vf9AEVoD331e9YY", //token令牌
"encodingaeskey": "QsWhGkAAaX7Sbsxh74xW42Cnbv0zZR2E4Szp4HzA4EG", //消息加密秘鑰
"level": "1", //公眾號賬號類型:1普通訂閱號,2普通服務號,3認證訂閱,4認證服務號
"account": "", //公眾號賬號
"original": "", //平臺原始id
"key": "", //平臺Appid
"secret": "", //平臺secret
"name": "qweq", //平臺名稱
"appdomain": "",
"auth_refresh_token": "",
"encrypt_key": "",
"hash": "fOz6P1Kh",
"type": "4", //平臺類型
"isconnect": "0", //是否接入 0未接入,1已接入
"isdeleted": "0", //是否已刪除 9未刪除 1 已刪除
"endtime": "1576206671", //平臺到期時間戳
"groupid": "0", //用戶組id
"default_acid": "100673",
"desc<x>ription": "", //描述
"rank": "0",//排序值,越大越顯示在前面
"createtime": "0",//創建時間
"title_initial": "Q",//名稱首字母
"create_uid": "0",//創建人uid
"type_sign": "wxapp",//賬號類型sign
"starttime": "1537499471",//賬號開始時間
"groups": [],
"setting": {
"uniacid": "1396",
"passport": "",
"oauth": "",
"jsauth_acid": "0",
"uc": "",
"notify": "",
"creditnames": {
"credit1": {
"title": "積分",
"enabled": 1
},
"credit2": {
"title": "余額",
"enabled": 1
}
},
"creditbehaviors": {
"activity": "credit1",
"currency": "credit2"
},
"welcome": "",
"default": "",
"default_message": "",
"shortcuts": "",
"payment": "",
"stat": "",
"default_site": "0",
"sync": "0",
"recharge": "",
"tplnotice": "",
"grouplevel": "1",
"mcplugin": "",
"exchange_enable": "0",
"coupon_type": "1",
"statistics": "",
"bind_domain": "",
"comment_status": "0",
"reply_setting": "0",
"menuset": "",
"default_module": "",
"sync_member": "0",
"attachment_limit": "0",
"attachment_size": "0",
"remote": ""
},
"grouplevel": "1",
"logo": "http://prox.we7.com/attachment/headimg_100673.jpg?time=1566385322", //頭像
"qrcode": "http://prox.we7.com/attachment/qrcode_100673.jpg?time=1566385322", //二維碼
"type_name": "微信小程序", //賬號類型名稱
"switchurl": "./index.php?c=account&a=display&do=switch&uniacid=1396",//進入賬號的鏈接
"switchurl_full": "http://prox.we7.com/web/./index.php?c=account&a=display&do=switch&uniacid=2813",
"setmeal": {
"uid": "339",
"username": "ceshi",
"groupid": "37",
"groupname": "用戶組-其他10-6天",
"timelimit": "2018-09-21~2019-12-13"
},
"current_user_role": "founder",//當前用戶角色
"owner_name": "ceshi",//主管理員賬號
"support_version": 1,//是否為有版本類平臺
"sms_num": 0,//短信剩余條數
"end": "2019-12-13", //賬號有效期
"manage_premission": true,
"versions": { //平臺版本數據
"245": {
"id": "245",
"uniacid": "1396",
"multiid": "0",
"version": "1.0",
"desc<x>ription": "qwe",
"modules": "a:1:{s:9:\"wn_storex\";a:2:{s:4:\"name\";s:9:\"wn_storex\";s:7:\"version\";s:5:\"6.1.5\";}}",
"design_method": "3",
"template": "0",
"quickmenu": "",
"createtime": "1553175958",
"appjson": "",
"default_appjson": "",
"use_default": "1",
"type": "0",
"entry_id": "0",
"last_modules": "",
"upload_time": "0",
"tominiprogram": null,
"current": true
}
},
"current_version": {
"id": "245",
"uniacid": "1396",
"multiid": "0",
"version": "1.0",
"desc<x>ription": "qwe",
"modules": "a:1:{s:9:\"wn_storex\";a:2:{s:4:\"name\";s:9:\"wn_storex\";s:7:\"version\";s:5:\"6.1.5\";}}",
"design_method": "3",
"template": "0",
"quickmenu": "",
"createtime": "1553175958",
"appjson": "",
"default_appjson": "",
"use_default": "1",
"type": "0",
"entry_id": "0",
"last_modules": "",
"upload_time": "0",
"tominiprogram": null,
"current": true
}
},
{
"acid": "100651",
"uniacid": "1374",
"name": "admin的app",
"hash": "T8AK0kws",
"type": "6",
"isconnect": "0",
"isdeleted": "0",
"endtime": "0",
"groupid": "0",
"default_acid": "100651",
"desc<x>ription": "2",
"rank": "0",
"createtime": "0",
"title_initial": "A",
"create_uid": "0",
"type_sign": "phoneapp",
"starttime": "1456743079",
"groups": [],
"setting": {
"uniacid": "1374",
"passport": "",
"oauth": "",
"jsauth_acid": "0",
"uc": "",
"notify": "",
"creditnames": {
"credit1": {
"title": "積分",
"enabled": 1
},
"credit2": {
"title": "余額",
"enabled": 1
}
},
"creditbehaviors": {
"activity": "credit1",
"currency": "credit2"
},
"welcome": "",
"default": "",
"default_message": "",
"shortcuts": "",
"payment": "",
"stat": "",
"default_site": "0",
"sync": "0",
"recharge": "",
"tplnotice": "",
"grouplevel": "1",
"mcplugin": "",
"exchange_enable": "0",
"coupon_type": "1",
"statistics": "",
"bind_domain": "",
"comment_status": "0",
"reply_setting": "0",
"menuset": "",
"default_module": "",
"sync_member": "0",
"attachment_limit": "0",
"attachment_size": "0",
"remote": ""
},
"grouplevel": "1",
"logo": "http://prox.we7.com/attachment/headimg_100651.jpg?time=1566385322",
"qrcode": "http://prox.we7.com/attachment/qrcode_100651.jpg?time=1566385322",
"type_name": "APP",
"switchurl": "./index.php?c=account&a=display&do=switch&uniacid=1374",
"setmeal": {
"uid": -1,
"username": "創始人",
"timelimit": "未設置",
"groupid": "-1",
"groupname": "所有服務"
},
"current_user_role": "founder",
"owner_name": "admin",
"support_version": 1,
"sms_num": 0,
"end": "永久",
"manage_premission": true,
"versions": {
"234": {
"id": "234",
"uniacid": "1374",
"multiid": "0",
"version": "0.0.1",
"desc<x>ription": "1.0",
"modules": "a:1:{s:9:\"wn_storex\";a:2:{s:4:\"name\";s:9:\"wn_storex\";s:7:\"version\";s:5:\"6.1.5\";}}",
"design_method": "0",
"template": "0",
"quickmenu": "",
"createtime": "1552547237",
"appjson": "",
"default_appjson": "",
"use_default": "1",
"type": "0",
"entry_id": "0",
"last_modules": "",
"upload_time": "0",
"tominiprogram": null,
"current": true
}
},
"current_version": {
"id": "234",
"uniacid": "1374",
"multiid": "0",
"version": "0.0.1",
"desc<x>ription": "1.0",
"modules": "a:1:{s:9:\"wn_storex\";a:2:{s:4:\"name\";s:9:\"wn_storex\";s:7:\"version\";s:5:\"6.1.5\";}}",
"design_method": "0",
"template": "0",
"quickmenu": "",
"createtime": "1552547237",
"appjson": "",
"default_appjson": "",
"use_default": "1",
"type": "0",
"entry_id": "0",
"last_modules": "",
"upload_time": "0",
"tominiprogram": null,
"current": true
}
}
]
}
},
"redirect": "",
"type": "ajax"
}
```
### 獲取用戶可以創建平臺信息
#### URL
> web/index.php?c=account&a=manage&do=account_create_info
#### 請求方式
> GET
#### 請求參數
無
#### 返回數據
```
{
"message": {
"errno": 0,
"message": {
"account": {
"contain_type": [
1,
3
],
"level": {
"1": "訂閱號",
"2": "服務號",
"3": "訂閱號-認證",
"4": "服務號-認證 認證媒體/政府訂閱號"
},
"jointype": {
"1": "普通接入",
"3": "授權接入"
},
"icon": "wi wi-wx-circle",
"createurl": "./index.php?c=account&a=post-step&",
"title": "公眾號", //賬號類型名稱
"can_create": true, //是否還可以創建
"account_num": 3 //已有的該賬號數量
},
"wxapp": {
"contain_type": [
4,
7,
14
],
"jointype": {
"4": "普通接入",
"7": "授權接入"
},
"icon": "wi wi-wxapp",
"createurl": "./index.php?c=wxapp&a=post&do=design_method&",
"title": "微信小程序",
"can_create": true,
"account_num": 3
},
"webapp": {
"contain_type": [
5
],
"icon": "wi wi-pc-circle",
"createurl": "./index.php?c=account&a=create&sign=webapp",
"title": "PC",
"can_create": true,
"account_num": 2
},
"phoneapp": {
"contain_type": [
6
],
"icon": "wi wi-app",
"createurl": "./index.php?c=account&a=create&sign=phoneapp",
"title": "APP",
"can_create": true,
"account_num": 0
},
"xzapp": {
"contain_type": [
9,
10
],
"level": {
"1": "個人",
"2": "媒體",
"3": "企業",
"4": "政府",
"5": "其他組織"
},
"icon": "wi wi-xzapp",
"createurl": "./index.php?c=xzapp&a=post-step&",
"title": "熊掌號",
"can_create": true,
"account_num": 1
},
"aliapp": {
"contain_type": [
11
],
"icon": "wi wi-aliapp",
"createurl": "./index.php?c=account&a=create&sign=aliapp",
"title": "支付寶小程序",
"can_create": true,
"account_num": 1
},
"baiduapp": {
"contain_type": [
12
],
"icon": "wi wi-baiduapp",
"createurl": "./index.php?c=account&a=create&sign=baiduapp",
"title": "百度小程序",
"can_create": true,
"account_num": 1
},
"toutiaoapp": {
"contain_type": [
13
],
"icon": "wi wi-toutiaoapp",
"createurl": "./index.php?c=account&a=create&sign=toutiaoapp",
"title": "頭條小程序",
"can_create": true,
"account_num": 1
}
}
},
"redirect": "",
"type": "ajax"
}
```
- 空白目錄
- 公共
- 系統自定義常量
- 圖片組件
- 權限組相關
- 平臺管理
- 公共數據
- 添加平臺
- 平臺列表
- 平臺回收站
- 平臺基礎信息
- 平臺停用、恢復、刪除
- 微信開放平臺
- 公眾號短信
- 平臺自定義到期提示
- 平臺使用者
- 平臺使用者權限設置
- 可用模塊、模板
- 應用操作員管理
- 版本管理
- 新建小程序版本
- 用戶管理
- 用戶管理列表
- 審核用戶列表
- 用戶回收站列表
- 用戶屬性設置
- 自定義到期提示
- 添加用戶
- 編輯-基礎信息
- 編輯-應用模板權限
- 編輯-賬號創建權限
- 編輯-賬號使用權限
- 編輯-使用賬號列表
- 編輯-操作應用列表
- 權限組
- 應用權限組-列表
- 應用權限組-編輯、添加
- 應用權限組-刪除
- 賬號權限組-列表
- 賬號權限組-編輯、添加
- 賬號權限組-刪除
- 用戶權限組合-列表
- 用戶權限組合-編輯、添加
- 用戶權限組合-刪除
- 系統功能
- 系統信息
- 站內公告
- 站內公告分類
- 短信管理
- 系統新聞
- 系統新聞分類
- 系統檢測優化
- 數據庫
- 木馬查殺
- 更新緩存