|
@@ -49,7 +49,7 @@ public class CameraCaptureService {
|
|
|
connection.setRequestProperty("Charsert", "UTF-8");
|
|
|
//设置读取时间为30秒
|
|
|
connection.setConnectTimeout(30 * 1000);
|
|
|
- connection.setReadTimeout(30 * 1000);
|
|
|
+ connection.setReadTimeout(180 * 1000);
|
|
|
connection.connect();
|
|
|
|
|
|
// 返回流
|