mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-07 10:16:38 +08:00
兼容v6
This commit is contained in:
@@ -174,6 +174,7 @@ public class HttpUtils implements ApplicationContextAware {
|
|||||||
|
|
||||||
return body;
|
return body;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
GostDto gostDto = new GostDto();
|
GostDto gostDto = new GostDto();
|
||||||
gostDto.setCode(500);
|
gostDto.setCode(500);
|
||||||
gostDto.setMsg("请求失败");
|
gostDto.setMsg("请求失败");
|
||||||
@@ -237,6 +238,7 @@ public class HttpUtils implements ApplicationContextAware {
|
|||||||
asyncSaveConfig(url, secret);
|
asyncSaveConfig(url, secret);
|
||||||
return body;
|
return body;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
GostDto gostDto = new GostDto();
|
GostDto gostDto = new GostDto();
|
||||||
gostDto.setCode(500);
|
gostDto.setCode(500);
|
||||||
gostDto.setMsg("请求失败");
|
gostDto.setMsg("请求失败");
|
||||||
@@ -272,6 +274,7 @@ public class HttpUtils implements ApplicationContextAware {
|
|||||||
asyncSaveConfig(url, secret);
|
asyncSaveConfig(url, secret);
|
||||||
return body;
|
return body;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
GostDto gostDto = new GostDto();
|
GostDto gostDto = new GostDto();
|
||||||
gostDto.setCode(500);
|
gostDto.setCode(500);
|
||||||
gostDto.setMsg("请求失败");
|
gostDto.setMsg("请求失败");
|
||||||
|
|||||||
Reference in New Issue
Block a user