[TOC]
## 獲取平臺數據
### URL
>/web/index.php?c=account&a=post
### 請求方式
GET
### 請求參數
| 名稱 | 類型 | 必填 | 描述 |
| ----------- | :-----: | :-----: | ----------- |
| uniacid | int | 是 | 平臺uniacid ||
### 返回數據
```
{
"message": {
"errno": 0,
"message": {
"acid": "100673",
"uniacid": "1396",
"token": "oc5wuuonzb4c5rxeycsmkis1mvucv05b",
"encodingaeskey": "QsWhGkAAaX7Sbsxh74xW42Cnbv0zZR2E4Szp4HzA4EG",
"level": "1",
"account": "",
"original": "",
"key": "123412412",
"secret": "",
"name": "qweq",
"appdomain": "",
"auth_refresh_token": "",
"encrypt_key": "123412412",
"hash": "fOz6P1Kh",
"type": "4",
"isconnect": "0",
"isdeleted": "0",
"endtime": "1576206671",
"groupid": "0",
"default_acid": "100673",
"desc<x>ription": "",
"rank": "0",
"createtime": "",
"title_initial": "Q",
"create_uid": "0",
"type_sign": "wxapp",
"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=1566387023", //頭像圖片
"qrcode": "http://prox.we7.com/attachment/qrcode_100673.jpg?time=1566387023", //二維碼圖片
"type_name": "微信小程序",
"switchurl": "./index.php?c=account&a=display&do=switch&uniacid=1396",
"setmeal": {
"uid": "339",
"username": "ceshi",
"groupid": "37",
"groupname": "用戶組-其他10-6天",
"timelimit": "2018-09-21~2019-12-13"
},
"current_user_role": "founder",
"start": "2018-09-21",
"end": "2019-12-13",
"endtype": 2,
"highest_visit": 0,
"attachment_size": 0,
"attachment_limit": -1,
"switchurl_full": "http://prox.we7.com/web/index.php?c=account&a=display&do=switch&uniacid=1369",
"renewurl": "./index.php?c=site&a=entry&do=goodsbuyer&direct=1&m=store&type=24", //商業版時才返回此項
"renewurl_full": "http://prox.we7.com/web/index.php?c=site&a=entry&do=goodsbuyer&direct=1&m=store&type=24", //商業版時才返回此項
"siteurl": "http://prox.we7.com/", //服務器配置域名
"service_url": "http://prox.we7.com/api.php?id=100512", //服務器通訊URL
"owner_endtime": "2019-12-13", //主管理員到期時間
"support_version": 1 //該平臺賬號類型是否支持版本:1支持;0不支持
}
},
"redirect": "",
"type": "ajax"
}
```
## 修改平臺信息
### URL
> /web/index.php?c=account&a=post&do=ba<x>se
### 請求方式
POST
### 請求參數
| 名稱 | 類型 | 必填 | 描述 |
| ----------- | :-----: | :-----: | ----------- |
| uniacid | int | 是 | 平臺uniacid |
| type | string | 是 | 修改項 |
| request_data | string | 是 | 修改值 | |
| 設置項 | type(固定值) | request_data 說明 |
| ----------- | ----- | ----- | ----------- |
| 頭像 | headimgsrc | 頭像圖片鏈接 |
| 二維碼 | qrcodeimgsrc | 二維圖片鏈接 |
| 名稱 | name | string |
| 賬號 | account | string |
| 原始ID | original | string |
| 公眾號類型 | level | int |
| 接入方式 | jointype | int 1 普通接入,或跳轉去授權接入 |
| 月訪問總次數 | highest_visit | int 0 為不啟用 |
| 到期時間 | endtime | 設置此項無需傳request_data參數,需要傳 endtime年月日,endtype 1永久,2非永久 |
| 附件空間 | attachment_limit | int 單位為 M 的內存值,設置為 -1 時不限空間 |
| 百度、頭條的Appid | appid | string |
| 公眾號、微信小程序、支付寶的AppId | key | string |
| 百度、頭條的AppKey | key | string |
| 熊掌號的ClientId | key | string |
| AppSecret, 熊掌號的ClientSecret | secret | string |
| Token | token | string |
| EncodingAESKey | encodingaeskey | string |
|||||
### 返回數據
成功:
```
{
"message": {
"errno": 0,
"message": "修改成功!"
},
"redirect": "",
"type": "ajax"
}
```
失敗:
```
{
"message": {
"errno": 1,
"message": "修改失敗!"
},
"redirect": "",
"type": "ajax"
}
```
- 空白目錄
- 公共
- 系統自定義常量
- 圖片組件
- 權限組相關
- 平臺管理
- 公共數據
- 添加平臺
- 平臺列表
- 平臺回收站
- 平臺基礎信息
- 平臺停用、恢復、刪除
- 微信開放平臺
- 公眾號短信
- 平臺自定義到期提示
- 平臺使用者
- 平臺使用者權限設置
- 可用模塊、模板
- 應用操作員管理
- 版本管理
- 新建小程序版本
- 用戶管理
- 用戶管理列表
- 審核用戶列表
- 用戶回收站列表
- 用戶屬性設置
- 自定義到期提示
- 添加用戶
- 編輯-基礎信息
- 編輯-應用模板權限
- 編輯-賬號創建權限
- 編輯-賬號使用權限
- 編輯-使用賬號列表
- 編輯-操作應用列表
- 權限組
- 應用權限組-列表
- 應用權限組-編輯、添加
- 應用權限組-刪除
- 賬號權限組-列表
- 賬號權限組-編輯、添加
- 賬號權限組-刪除
- 用戶權限組合-列表
- 用戶權限組合-編輯、添加
- 用戶權限組合-刪除
- 系統功能
- 系統信息
- 站內公告
- 站內公告分類
- 短信管理
- 系統新聞
- 系統新聞分類
- 系統檢測優化
- 數據庫
- 木馬查殺
- 更新緩存