ソースを参照

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into develop

tags/v1.0.0^2
chengwang 1年前
コミット
e488252f1f
1個のファイルの変更1行の追加6行の削除
  1. +1
    -6
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airport/AirportServiceImpl.java

+ 1
- 6
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airport/AirportServiceImpl.java ファイルの表示

@@ -37,12 +37,7 @@ public class AirportServiceImpl implements AirportService {
return JsonResult.error(AriportCodeEnum.GET_NO_TENANT.getCode(), AriportCodeEnum.GET_NO_TENANT.getMsg());
}
String url = tenant.getAirportUrl() + SystemConstant.API_AIRPORT_LIST;
String param;
try {
param = "page=1&limit=1000&tenantName=" + URLEncoder.encode(tenant.getName(), "UTF-8");
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e);
}
String param = "page=1&limit=100&tenantCode=" + tenant.getCode();
String airPortStr = HttpUtils.sendGet(url, param);

JsonResult jsonResult = JacksonUtil.json2pojo(airPortStr, JsonResult.class);

読み込み中…
キャンセル
保存