public static List <SharpPSResponseDTO> CirclePlaceSearch(PlaceSearchRequestDTO placeSearchRequestDTO) { if (placeSearchRequestDTO.Location == null) { throw new System.Exception("Location必须不能为空值!"); } return(BaseProxy.DoGetWithAutoDeserilize <PlaceSearchRequestDTO, List <SharpPSResponseDTO> >(Resources.BaiduMapPlaceSearch, placeSearchRequestDTO)); }
public static List <PlaceSearchResponseDTO> PlaceSearch(PlaceSearchRequestDTO placeSearchRequestDTO) { if (placeSearchRequestDTO.Query == null || placeSearchRequestDTO.Query.Trim() == "") { throw new System.Exception("Query必须不能为空值!"); } return(BaseProxy.DoGetWithAutoDeserilize <PlaceSearchRequestDTO, List <PlaceSearchResponseDTO> >(Resources.BaiduMapPlaceSearch, placeSearchRequestDTO)); }