ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` app('rpc.record')->call('town.goods.pack.get.list',[$state = 1]); ``` ~~~[api] post:town.goods.pack.get.list state=1#状态 <<< Array ( [result] => Array ( [0] => Array ( [id] => 10012 [title] => '第一周商品包' //商品包标题 [intro] => '正式商品包' // 商品包简介 [sort] => 3 // 商品包排序 [state] =>1 //商品包状态0无效1有效 [ctime] => 1 [utime] => 1 ) ) ) <<< error Array ( [error] => Array ( [code] => -32602 [message] => Invalid params [data] => ) ) ~~~