Pu Zhibing
2025-02-10 24c1f8a945c6fbcb0968e9d78cf97e74f2677802
guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java
@@ -112,7 +112,7 @@
      log.info("【获取车辆列表】请求参数:" + JSON.toJSONString(body));
      post.body(JSON.toJSONString(body));
      HttpResponse execute = post.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         accountLogin = null;
         if(num == 3){
@@ -166,7 +166,7 @@
      log.info("【获取船舶列表】请求参数:" + JSON.toJSONString(body));
      post.body(JSON.toJSONString(body));
      HttpResponse execute = post.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -207,7 +207,7 @@
      post.body("{}");
      log.info("【2018年协议车辆在线】请求参数:" + post.getUrl());
      HttpResponse execute = post.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -247,7 +247,7 @@
      get.header("token", accountLogin.getToken());
      log.info("【2023年协议车辆在线】请求参数:" + get.getUrl());
      HttpResponse execute = get.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -293,7 +293,7 @@
      log.info("【2018年协议发送拍摄指令接口】请求参数:" + JSON.toJSONString(body));
      post.body(JSON.toJSONString(body));
      HttpResponse execute = post.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -346,7 +346,7 @@
      get.header("token", accountLogin.getToken());
      log.info("【2023年协议发送拍摄指令接口】请求参数:" + get.getUrl());
      HttpResponse execute = get.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -397,7 +397,7 @@
      get.header("token", accountLogin.getToken());
      log.info("【2018年协议车辆获取拍摄图片】请求参数:" + get.getUrl());
      HttpResponse execute = get.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -448,7 +448,7 @@
      get.header("token", accountLogin.getToken());
      log.info("【2023年协议车辆获取拍摄图片】请求参数:" + get.getUrl());
      HttpResponse execute = get.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");
@@ -508,7 +508,7 @@
      log.info("请求参数:" + JSON.toJSONString(body));
      post.body(JSON.toJSONString(body));
      HttpResponse execute = post.execute();
      if(401 == execute.getStatus()){
      if(401 == execute.getStatus() || 403 == execute.getStatus()){
         log.error("token失效,重新登录");
         if(num == 3){
            log.error("token失效,请联系管理员");