企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
例子1: 如果获取的数组$array为 ~~~ Array ( [header] => Array ( [x_apsessionid] => 1A992244B5526BBF623F3D528945ADBD [x_apterminalid] => 6C448661A0D9AE801DE570781481F6A8 [x_apsignature] => 12345678 ) [body] => Array ( [txnId] => 803230935321035065 [odNo] => 201803230935327221 [data] => {"txnTime":"2018-03-23 09:35:32","payResult":"FAIL","qrcodeResult":"FAIL","reultMsg":"客户支付配置未设置"} [statusCode] => 1 [responseCode] => 0 [action] => msc/txn/request ) ) ~~~ 获取statusCode的值为: ~~~ echo $array['body']['statusCode']; //输出结果为1 ~~~