>图鉴宠物列表
~~~[api]
get:/index.php/gamecow/Apigame/member_pets_list
int:page=1#页码
int:pagesize=20#每页显示的记录数
<<<
success
{
"err": 0,
"count": 50,
"data": [{
"id": 1,
"name": "小白鼠",
"sign": "1",
"thumb": "http:\/\/gamecow.258101.com\/Upload\/administrator\/1\/\/pets_1_2020_08_06_18_08_50.png",
"reward_type": "point",
"reward_num": "1000",
"point1": 1,
"point2": 2,
"point3": 3,
"price": 0,
"describe": "拖入回收站奖励1000金币",
"num": 3,
"grade": 1
}, {
"id": 2,
"name": "小黄牛",
"sign": "2",
"thumb": "http:\/\/gamecow.258101.com\/Upload\/administrator\/1\/\/pets_2_2020_08_06_16_15_46.png",
"reward_type": "point",
"reward_num": "1000",
"point1": 1,
"point2": 2,
"point3": 3,
"price": 0,
"describe": "拖入回收站奖励1000金币",
"num": 3,
"grade": 0
}]
}
~~~
| 字段 | 详情 |
| --- | --- |
| count | 宠物个数 |
| data | 宠物信息|
| |----id| 宠物id |
| |----name |宠物名字 |
| |----sign|宠物标识 |
| |----reward_type|宠物放到回收站,奖励的类型 point:金币,money:现金 |
| |----reward_num|宠物放到回收站,奖励的积分数量 |
| |----name |宠物名字 |
| |----point1 | 一级宠物每秒获得金币数 ,0:不获取|
| |----point2 | 二级宠物每秒获得金币数 ,0:不获取 |
| |----point3 | 三级宠物每秒获得金币数 ,0:不获取 |
| |----price | 宠物被刷新后,获取时要花费的金币数,0:免费|
| |----describe |宠物描述 |
| |----num | 宠物升级需要的个数 |
| |----grade | 宠物的级别,0:普通,1:珍贵,2:稀有,3:罕见,4:传说|
>图鉴奖品列表
~~~[api]
get:/index.php/gamecow/Apigame/member_prize_list
int:page=1#页码
int:pagesize=20#每页显示的记录数
<<<
success
{
"err": 0,
"count": 3,
"data": [ {
"id": 2,
"num": 1,
"name": "资金箱",
"thumb": "http:\/\/gamecow.258101.com\/Upload\/administrator\/1\/\/5c75a571cbbf4_2020_08_12_19_06_44.png",
"type": "fictitious",
"grade": 0,
"reward_type": "point",
"reward_num": "1",
"describe": "奖品可随时领取,拖入回收站获取1元",
"company": [{
"name": "测试",
"pointX": "112.55899300",
"pointY": "37.81386200",
"thumb": "http:\/\/gamecow.258101.com\/Upload\/administrator\/1\/\/0J5304295-12_2020_07_21_15_13_15.jpg",
"address": "太原市学府街平阳路口",
"mobile": "123654784"
}]
}]
}
~~~
| 字段 | 详情 |
| --- | --- |
| count | 奖品个数 |
| data | 奖品信息|
| |----id| 奖品id |
| |----name |奖品名字 |
| |----num|奖品可叠加数 |
| |----thumb|奖品图片 |
| |----type|奖品类型,material:实物,fictitious:虚拟 |
| |----reward_type|奖品放到回收站,奖励的类型 point:金币,money:现金 |
| |----reward_num|奖品放到回收站,奖励的积分数量 |
| |----describe |奖品描述 |
| |----grade | 宠物的级别,0:普通,1:珍贵,2:稀有,3:罕见,4:传说|
| |----company | 奖品所属公司|
| |----|----name| 奖品所属公司名称|
| |----|----pointX| 所在地图X坐标|
| |----|----pointY| 所在地图Y坐标|
| |----|----thumb| 奖品所属公司logo图片|
| |----|----address| 奖品所属公司地址|
| |----|----mobile| 电话|