💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 用户背包列表 ~~~ call('town.pack.list', [$params]) 传递数组 $params = ['uid' => 2138091, 'state'=>0]; ~~~ RPC传入数组包含以下参数 ~~~[api] post:town.pack.list *uid=null# uid isadm=ture#后台调用增加参数 tid=0#类型id 1建筑 2精灵 3领地 4-学币 5场景 99皮肤 100紫水晶 propid=0#道具id state=0背包中,1建设中,2已摆放#道具状态 utime=0#更新时间 page_size=0#分页 page=0#分页 <<< Array ( [result] => Array ( [current_page] => 2 [data] => Array ( [0] => Array ( [id] => 5370091 [uid] => 2138018 [propid] => 3192 [tid] => 3 [pointx] => 0 [pointy] => 0 [state] => 2 [sort] => 4 [utime] => 1568257141 [ctime] => 1568257141 [prop] => Array //道具信息 ( [id] => 3192 [tid] => 3 [scene] => 1 [name] => 领地 [icon] => image/2019/03/13/181617_5c88d871e74ba.png#358*189 [onpic] => image/2019/03/13/181636_5c88d8843c015.png#358*189 [quality] => 2 [prosperity] => 80 [woods] => 0 [minerals] => 0 [bronzes] => 0 [recoveryprice] => 0 [state] => 1 [issend] => 0 [utime] => 1563351241 [ctime] => 1537174551 ) ) [1] => Array ( [id] => 5370092 [uid] => 2138018 [propid] => 3192 [tid] => 3 [pointx] => 0 [pointy] => 0 [state] => 2 [sort] => 5 [utime] => 1568257141 [ctime] => 1568257141 [prop] => Array ( [id] => 3192 [tid] => 3 [scene] => 1 [name] => 领地 [icon] => image/2019/03/13/181617_5c88d871e74ba.png#358*189 [onpic] => image/2019/03/13/181636_5c88d8843c015.png#358*189 [quality] => 2 [prosperity] => 80 [woods] => 0 [minerals] => 0 [bronzes] => 0 [recoveryprice] => 0 [state] => 1 [issend] => 0 [utime] => 1563351241 [ctime] => 1537174551 ) ) [2] => Array ( [id] => 5370093 [uid] => 2138018 [propid] => 3192 [tid] => 3 [pointx] => 0 [pointy] => 0 [state] => 2 [sort] => 6 [utime] => 1568257141 [ctime] => 1568257141 [prop] => Array ( [id] => 3192 [tid] => 3 [scene] => 1 [name] => 领地 [icon] => image/2019/03/13/181617_5c88d871e74ba.png#358*189 [onpic] => image/2019/03/13/181636_5c88d8843c015.png#358*189 [quality] => 2 [prosperity] => 80 [woods] => 0 [minerals] => 0 [bronzes] => 0 [recoveryprice] => 0 [state] => 1 [issend] => 0 [utime] => 1563351241 [ctime] => 1537174551 ) ) ) [first_page_url] => http://basic.record.com/rpc/json-rpc-v2.json?page=1 [from] => 4 [last_page] => 9 [last_page_url] => http://basic.record.com/rpc/json-rpc-v2.json?page=9 [next_page_url] => http://basic.record.com/rpc/json-rpc-v2.json?page=3 [path] => http://basic.record.com/rpc/json-rpc-v2.json [per_page] => 3 [prev_page_url] => http://basic.record.com/rpc/json-rpc-v2.json?page=1 [to] => 6 [total] => 25 ) ) <<< error Array ( [error] => Array ( [code] => -32602 [message] => Invalid params [data] => ) ) ~~~