摘要: 通过PHP读取服务器上的JSON文件 public function getCity(){ //相对路径 $filename = "./static/citydata/city.json"; //读取json文件里面的内容 $json_string = file_get_contents($file 阅读全文
posted @ 2022-04-13 00:15 星锋 阅读(332) 评论(0) 推荐(0)