>獲取團隊信息
~~~[api]
get:/index.php/gamecow/Apigame/member_get_team
<<<
success
{
"err": 0,
"data": {
"own": {
"recommendCount": 2,
"totalRebate": "5.0000"
},
"rebate": {
"total": 3,
"direct": 0,
"indirect": 3
},
"recommendUser": true,
"recommend": {
"recommendCount": 3,
"totalRebate": "0.0000",
"headpath": "https:\/\/dss0.bdstatic.com\/5aV1bjqh_Q23odCf\/static\/superman\/img\/logo_top-e3b63a0b1b.png",
"nickname": "我的度假酒店居多家具家電大家覺得"
},
"leve": {
"leve": 1,
"experience": 100,
"maxExperience": 100
}
}
}
~~~
| 字段 | 詳情 |
| --- | --- |
| data| 積分信息|
| |---own| 自己的信息 |
| |---|---recommendCount| 推薦的好友人數 |
| |---|---totalRebate| 好友累計賺錢的數量 |
| |---rebate| 今日好友給我賺錢數 |
| |---|---total| 今日合計賺錢數 |
| |---|---direct| 直接好友貢獻 |
| |---|---indirect| 間接好友貢獻 |
| |---|---totalActive| 所有活躍好友人數 |
| |---|---directActive| 直接活躍好友人數 |
| |---|---indirectActive| 間接活躍好友人數 |
| |---recommendUser| 是否有推薦用戶,沒有返回false ,recommend參數不存在|
| |---recommend| 我的推薦人信息 |
| |---|---recommendCount| 推薦的好友人數 |
| |---|---totalRebate| 累計收益的數量 |
| |---|---headpath| 推薦人頭像 |
| |---|---nickname| 推薦人昵稱 |
| |---leve| 我的等級信息信息 |
| |---|---leve| 會員等級 |
| |---|---experience| 當前經驗 |
| |---|---maxExperience| 最大經驗 |
>獲取推薦人列表
~~~[api]
get:/index.php/gamecow/Apigame/member_get_recommend
int:type=1#1:直接推薦人列表,2:間接推薦人列表
int:page=1#當前頁碼
int:pagesize=30#每頁顯示條數,默認30
<<<
success
{
"err": 0,
"data": [{
"id": 4,
"logintime": "2020-04-07 15:13:17",
"nickname": "22222",
"headpath": "",
}, {
"id": 5,
"logintime": "",
"nickname": "",
"headpath": "",
}]
}
~~~
| 字段 | 詳情 |
| --- | --- |
| data| 用戶信息|
| |---id| 會員id |
| |---logintime| 最后登錄時間 |
| |---nickname| 昵稱|
| |---headpath| 頭像 |
>獲取推薦好友人數
~~~[api]
get:/index.php/gamecow/Apigame/member_get_friend
<<<
success
{
"err": 0,
"data": {
"recommend": {
"total": 4,
"direct": 2,
"indirect": 2
}
}
}
~~~
| 字段 | 詳情 |
| --- | --- |
| leve| 等級信息|
| |---total| 總共推薦人數 |
| |---direct| 直接好友推薦數 |
| |---indirect| 間接好友推薦數 |