[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"
}
```
- 空白目录
- 公共
- 系统自定义常量
- 图片组件
- 权限组相关
- 平台管理
- 公共数据
- 添加平台
- 平台列表
- 平台回收站
- 平台基础信息
- 平台停用、恢复、删除
- 微信开放平台
- 公众号短信
- 平台自定义到期提示
- 平台使用者
- 平台使用者权限设置
- 可用模块、模板
- 应用操作员管理
- 版本管理
- 新建小程序版本
- 用户管理
- 用户管理列表
- 审核用户列表
- 用户回收站列表
- 用户属性设置
- 自定义到期提示
- 添加用户
- 编辑-基础信息
- 编辑-应用模板权限
- 编辑-账号创建权限
- 编辑-账号使用权限
- 编辑-使用账号列表
- 编辑-操作应用列表
- 权限组
- 应用权限组-列表
- 应用权限组-编辑、添加
- 应用权限组-删除
- 账号权限组-列表
- 账号权限组-编辑、添加
- 账号权限组-删除
- 用户权限组合-列表
- 用户权限组合-编辑、添加
- 用户权限组合-删除
- 系统功能
- 系统信息
- 站内公告
- 站内公告分类
- 短信管理
- 系统新闻
- 系统新闻分类
- 系统检测优化
- 数据库
- 木马查杀
- 更新缓存