- 好友
- 分享
- 精華
- 閱讀權(quán)限
- 255
- 注冊時間
- 2017-8-17
|
馬上注冊,結(jié)交更多好友,享用更多功能,讓你輕松玩轉(zhuǎn)社區(qū)
您需要 登錄 才可以下載或查看,沒有賬號?立即注冊
×
獲取用戶擴展信息(DZ)
| | 接口說明: | 登錄后,通過此接口獲取用戶擴展信息,基于DZ系統(tǒng)內(nèi)置。 |
| 接口詳情 | | 請求地址: | http://demo.xinxiuvip.com/plugin.php?id=xinxiu_network:user | | 請求方式: | GET | | 返回格式: | JSON\XML /*默認返回JSON格式,如需返回XML格式,請在接口網(wǎng)址后面增加&output=xml參數(shù)*/ |
| 請求參數(shù)(所有參數(shù)值均URL加密后傳輸【注意GBK與UTF8編碼區(qū)別】) | | 參數(shù) | 類型 | 是否必含 | 說明 | 示例 | | token | [string] | 是 | token令牌(初始化用戶登錄獲取) | 0aecwCOIFsCm9ythzmu3TTVGgs756STRUzyf
2e86n_xin_xiu_MJWdHiSb5dYDkPGK68dgKplD8x | | action | [string] | 是 | 接口方法 | user_count |
| 請求示例(GET) | - http://demo.xinxiuvip.com/plugin.php?id=xinxiu_network:user&token={token令牌}&action=user_count
復(fù)制代碼 |
| 返回參數(shù)(所有接口返回數(shù)據(jù)含中文時“\u672c\u6846”,請用USC2進行解碼) | | 參數(shù) | 類型 | 是否必含 | 說明 | 示例 | | code | [number] | 是 | http狀態(tài)碼 | 200 | | result | [string] | 是 | 錯誤信息狀態(tài)碼 | OK | | count | [number] | 是 | 數(shù)組成員數(shù) | 27 | | data | [object] | 是 | 數(shù)組 | | | data>>uid | [string] | 是 | 用戶uid | 9 | | data>>extcredits1 | [string] | 是 | extcredits1積分 | | | data>>extcredits2 | [string] | 是 | extcredits2積分 | 2 | | data>>extcredits3 | [string] | 是 | extcredits3積分 | | | data>>extcredits4 | [string] | 是 | extcredits4積分 | | | data>>extcredits5 | [string] | 是 | extcredits5積分 | | | data>>extcredits6 | [string] | 是 | extcredits6積分 | | | data>>extcredits7 | [string] | 是 | extcredits7積分 | | | data>>extcredits8 | [string] | 是 | extcredits8積分 | | | data>>friends | [string] | 是 | 好友個數(shù) | | | data>>posts | [string] | 是 | 帖子數(shù) | | | data>>threads | [string] | 是 | 主題數(shù) | | | data>>digestposts | [string] | 是 | 精華數(shù) | | | data>>doings | [string] | 是 | 記錄數(shù) | | | data>>blogs | [string] | 是 | 日志數(shù) | | | data>>albums | [string] | 是 | 相冊數(shù) | | | data>>sharings | [string] | 是 | 分享數(shù) | | | data>>attachsize | [string] | 是 | 上傳附件占用的空間 | | | data>>views | [string] | 是 | 空間查看數(shù) | | | data>>oltime | [string] | 是 | 在線時間 | | | data>>todayattachs | [string] | 是 | 當(dāng)天上傳附件數(shù) | | | data>>todayattachsize | [string] | 是 | 當(dāng)天上傳附件容量 | | | data>>feeds | [string] | 是 | 廣播數(shù) | | | data>>follower | [string] | 是 | 聽眾數(shù)量 | | | data>>following | [string] | 是 | 收聽數(shù)量 | | | data>>newfollower | [string] | 是 | 新增聽眾數(shù)量 | | | data>>blacklist | [string] | 是 | 拉黑用戶數(shù) | | | sqltime | [string] | 是 | 頁面執(zhí)行時間(秒) | 0.00255s |
| 返回示例(JSON) | - {
- "code": 200,
- "result": "OK",
- "count": 27,
- "data": {
- "uid": "9",
- "extcredits1": "0",
- "extcredits2": "2",
- "extcredits3": "0",
- "extcredits4": "0",
- "extcredits5": "0",
- "extcredits6": "0",
- "extcredits7": "0",
- "extcredits8": "0",
- "friends": "0",
- "posts": "0",
- "threads": "0",
- "digestposts": "0",
- "doings": "0",
- "blogs": "0",
- "albums": "0",
- "sharings": "0",
- "attachsize": "0",
- "views": "0",
- "oltime": "0",
- "todayattachs": "0",
- "todayattachsize": "0",
- "feeds": "0",
- "follower": "0",
- "following": "0",
- "newfollower": "0",
- "blacklist": "0"
- },
- "sqltime": "0.00255s"
- }
復(fù)制代碼 |
| 錯誤提示碼 | | 錯誤碼查詢地址:點擊訪問 | | BUG提交:點擊提交 | | QQ交流群:281079920 |
|
|