💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
例子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 ~~~