MS-PDRLKVHCADMG\Administrator hace 5 años
padre
commit
a23407b630
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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');