git 6 years ago
parent
commit
aa5fff8d57
1 changed files with 1 additions and 1 deletions
  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('ID as PlaceId,	RegPointName as PlaceName,Longitude,Latitude')->select();
+		$res = M('yhgl_kh_places')->field('RegPointName as PlaceName,Longitude,Latitude,Address')->select();
 		if(!$res){
 			json_fail('备案点不存在!');
 		}