企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` $params = [ 'number' => 5, 'probability' => '20', ]; app('rpc.record')->call('town.amethyst.rule.save',[$params]); ``` ~~~[api] post:town.amethyst.rule.save *number=null#水晶数量 // int 最小为1 *probability=null#获取概率 // int between:0,100 <<< Array ( [result] => Array ( [res] => ture ) ) <<< error Array ( [error] => Array ( [code] => -32602 [message] => Invalid params [data] => ) ) ~~~