浏览代码

no message

MS-PDRLKVHCADMG\Administrator 5 年之前
父节点
当前提交
a23407b630
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api/application/controllers/Project.php

+ 1 - 0
api/application/controllers/Project.php

@@ -112,6 +112,7 @@ class Project extends Base_Controller {
             $location_en = 'There is no location information, please select location information on the edit project page.';
         }else{
             $res1 = $this->Global_location_model->get_one(['id'=>$data['cityid']],'level,pid,chinese_name,longitude,latitude,english_name');
+            $data['area'] = $res1['english_name'];
             $data['longitude'] = $res1['longitude'];
             $data['latitude'] = $res1['latitude'];
             $res2 = $this->Global_location_model->get_one(['id'=>$res1['pid']],'pid,chinese_name,english_name');