💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` $params = [ 'id' => 1, 'name' => '5',//支持模糊查询 name . '%' 'state' => 0, 'page_size' => 100,// 每页展示 'page' => 1,页码 'columns' => ['*'] ]; app('rpc.record')->call('town.amethyst.list',[$params]); ``` ~~~[api] post:town.amethyst.save id=null#水晶表id name=null#道具名称 state=0#状态 1 可用 0 不可用 page=1#页码 page_size=10#步长 columns=['*']#字段 <<< Array ( [result] => Array ( [data] => Array ( 0 => Array ( [id] => 1, [name] => "",//道具名称 [icon] => "",//icon, [state] => 1,//状态 1 可用 0 不可用 [ctime] => 1, [utime] => 1, [quality] => 4 ) ), [total] => 6//总数 ) ) <<< error Array ( [ ] => Array ( [code] => -32602 [message] => Invalid params [data] => ) ) ~~~