file_get_contents 例: function cbc_price(){ $info = json_decode(file_get_contents('网址'),1); return $info; }