Commit ac0d06ee by 星梦苍天

图片下载过期时间设置

1 parent f896128a
......@@ -28,7 +28,7 @@ public class NetFileUtils {
public static FileCallable getNetFile(String urlPath){
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){
Buffer buffer = response.body();
buffer.getByteBuf();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!