|
@@ -110,6 +110,7 @@ public class FilmOrderServiceImpl extends ServiceImpl<FilmOrderMapper, FilmOrder
|
|
|
if(response.getStatusLine().getStatusCode() == HttpStatus.SC_OK){
|
|
|
// 返回数据:
|
|
|
resultData = EntityUtils.toString(response.getEntity(),"UTF-8");
|
|
|
+ return resultData;
|
|
|
}else{
|
|
|
throw new RuntimeException("接口连接失败!");
|
|
|
}
|
|
@@ -119,6 +120,6 @@ public class FilmOrderServiceImpl extends ServiceImpl<FilmOrderMapper, FilmOrder
|
|
|
} finally {
|
|
|
httpClient.close();
|
|
|
}
|
|
|
- return null;
|
|
|
+
|
|
|
}
|
|
|
}
|