git лет назад: 6
Родитель
Сommit
5176438b16
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Home/Lib/Action/ApiAction.class.php

+ 1 - 1
Home/Lib/Action/ApiAction.class.php

@@ -220,7 +220,7 @@ class ApiAction extends Action {
 			json_fail('Random不存在!');
 		}
 		$this->token_verify($appkey,$timestamp,$random,$token);
-		$res = M('yhgl_kh_places')->field('RegPointName as PlaceName,Longitude,Latitude,Address')->select();
+		$res = M('yhgl_kh_places')->field('ID as PlaceId,RegPointName as PlaceName,Longitude,Latitude,Address')->select();
 		if(!$res){
 			json_fail('备案点不存在!');
 		}