@ -79,6 +79,6 @@ public interface IStationClient {
* @param codes
* @return
*/
@PostMapping(QUERY_STATION_BY_CODES)
@GetMapping(QUERY_STATION_BY_CODES)
R<List<StationEntity>> querySatationByCodes(@RequestParam("codes") List<String> codes);
}
@ -129,6 +129,7 @@ public class StationClient implements IStationClient {
@Override
@GetMapping("/querySatationByCodes")
public R<List<StationEntity>> querySatationByCodes(@RequestParam("codes") List<String> codes) {
return R.data(stationService.list(Wrappers.<StationEntity>lambdaQuery()
.in(StationEntity::getCode,codes)));