Commit c5db68f8 by 孙喜旺

Merge remote-tracking branch 'origin/back_end_dev' into back_end_dev

2 parents 15a6c14f 91db5f86
...@@ -28,7 +28,7 @@ public class NetFileUtils { ...@@ -28,7 +28,7 @@ public class NetFileUtils {
public static FileCallable getNetFile(String urlPath){ public static FileCallable getNetFile(String urlPath){
FileCallable fileCallable = new FileCallable(); FileCallable fileCallable = new FileCallable();
webClient.getAbs(urlPath).send().onSuccess(response -> { webClient.getAbs(urlPath).timeout(1000L*60L*10L).send().onSuccess(response -> {
if(response.statusCode() == 200 || response.statusCode() == 302){ if(response.statusCode() == 200 || response.statusCode() == 302){
Buffer buffer = response.body(); Buffer buffer = response.body();
buffer.getByteBuf(); buffer.getByteBuf();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!