>倉庫物品欄列表
~~~[api]
get:/index.php/gamecow/Apigame/member_get_prize_warehouse
<<<
success
{
"err": 0,
"count": 2,
"data": [{
"id": 1,
"prize": {
"num": 1,
"name": "",
"sell": 0,
"thumb": false,
"probability": 50,
"type": "material",
"grade": 0,
"reward_type": "point",
"reward_num": 0
},
"company": {
"name": "測試",
"pointX": "0.00000000",
"pointY": "0.00000000",
"thumb": "",
"address": "",
"mobile": ""
}
}, {
"id": 2,
"prize": false,
"company": false
}]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯誤信息"
}
~~~
| 字段 | 詳情 |
| --- | --- |
| count | 物品欄個數 |
| data | 物品欄信息|
| |----id| 會員組名稱 |
| |----prize| 物品欄所在的獎品 ,如果物品欄無獎品返回 false |
| |----|----name |獎品名字 |
| |----|---num| 獎品數量,默認為1|
| |----|---sell| 是否上架 0:未上架,1:上架 |
| |----|---thumb| 獎品圖片 |
| |----|----describe |獎品描述 |
| |----|----probability|出獎概率 |
| |----|----type|獎品類型 material:實物,fictitious:虛擬,boos:分紅寵物 |
| |----|----grade|獎品等級,0:普通,1:珍貴,2:稀有,3:罕見,4:傳說 |
| |----|----reward_type | 拖入回收站獎勵的積分類型 ,point:積分類型,money:現金|
| |----|----reward_num |獎勵的數量,數字為固定,隨機數1,10,當大于0時可被拖入到回收站 |
| |----company| 實物獎品才有此參賽,其它返回false |
| |----|----name |提供獎品的組織 |
| |----|---pointX| 提供獎品所在的地圖x|
| |----|---pointY| 提供獎品所在的地圖Y|
| |----|---thumb| 提供獎品組織的logo|
| |----|---address| 取貨的地址|
| |----|---mobile| 聯系電話|
>倉庫物品欄拖拽,切換
~~~[api]
get:/index.php/gamecow/Apigame/member_prize_warehouse_drag_drop
*int:drag_id=0#開始拖拽的物品欄ID
*int:drop_id=0#結束拖拽的物品欄ID
<<<
success
{
"err": 0,
"count": 2,
"data": [{
"id": 1,
"prize": {
"num": 1,
"name": "",
"sell": 0,
"thumb": false,
"probability": 50,
"type": "material",
"grade": 0,
"reward_type": "point",
"reward_num": 0
},
"company": {
"name": "測試",
"pointX": "0.00000000",
"pointY": "0.00000000",
"thumb": "",
"address": "",
"mobile": ""
}
}, {
"id": 2,
"prize": false,
"company": false
}]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯誤信息"
}
~~~
| 字段 | 詳情 |
| --- | --- |
| count | 物品欄個數 |
| data | 物品欄信息|
| |----id| 會員組名稱 |
| |----prize| 物品欄所在的獎品 ,如果物品欄無獎品返回 false |
| |----|----name |獎品名字 |
| |----|---num| 獎品數量,默認為1|
| |----|---sell| 是否上架 0:未上架,1:上架 |
| |----|---thumb| 獎品圖片 |
| |----|----describe |獎品描述 |
| |----|----probability|出獎概率 |
| |----|----type|獎品類型 material:實物,fictitious:虛擬,boos:分紅寵物 |
| |----|----grade|獎品等級,0:普通,1:珍貴,2:稀有,3:罕見,4:傳說 |
| |----|----reward_type | 拖入回收站獎勵的積分類型 ,point:積分類型,money:現金|
| |----|----reward_num |獎勵的數量,數字為固定,隨機數1,10,當大于0時可被拖入到回收站 |
| |----company| 實物獎品才有此參賽,其它返回false |
| |----|----name |提供獎品的組織 |
| |----|---pointX| 提供獎品所在的地圖x|
| |----|---pointY| 提供獎品所在的地圖Y|
| |----|---thumb| 提供獎品組織的logo|
| |----|---address| 取貨的地址|
| |----|---mobile| 聯系電話|
>倉庫物品欄的獎品拖到回收站
~~~[api]
get:/index.php/gamecow/Apigame/member_prize_warehouse_del
*int:drag_id=0#開始拖拽的物品欄ID
*int:drop_id=0#結束拖拽的物品欄ID
<<<
success
{
"err": 0,
"count": 2,
"data": [{
"id": 1,
"prize": {
"num": 1,
"name": "",
"sell": 0,
"thumb": false,
"probability": 50,
"type": "material",
"grade": 0,
"reward_type": "point",
"reward_num": 0
},
"company": {
"name": "測試",
"pointX": "0.00000000",
"pointY": "0.00000000",
"thumb": "",
"address": "",
"mobile": ""
}
}, {
"id": 2,
"prize": false,
"company": false
}]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯誤信息"
}
~~~
| 字段 | 詳情 |
| --- | --- |
| count | 物品欄個數 |
| data | 物品欄信息|
| |----id| 會員組名稱 |
| |----prize| 物品欄所在的獎品 ,如果物品欄無獎品返回 false |
| |----|----name |獎品名字 |
| |----|---num| 獎品數量,默認為1|
| |----|---sell| 是否上架 0:未上架,1:上架 |
| |----|---thumb| 獎品圖片 |
| |----|----describe |獎品描述 |
| |----|----probability|出獎概率 |
| |----|----type|獎品類型 material:實物,fictitious:虛擬,boos:分紅寵物 |
| |----|----grade|獎品等級,0:普通,1:珍貴,2:稀有,3:罕見,4:傳說 |
| |----|----reward_type | 拖入回收站獎勵的積分類型 ,point:積分類型,money:現金|
| |----|----reward_num |獎勵的數量,數字為固定,隨機數1,10,當大于0時可被拖入到回收站 |
| |----company| 實物獎品才有此參賽,其它返回false |
| |----|----name |提供獎品的組織 |
| |----|---pointX| 提供獎品所在的地圖x|
| |----|---pointY| 提供獎品所在的地圖Y|
| |----|---thumb| 提供獎品組織的logo|
| |----|---address| 取貨的地址|
| |----|---mobile| 聯系電話|