Browse Source

师傅信息同步到总部

yaozhixue 2 years ago
parent
commit
afe988475a
100 changed files with 1727 additions and 108 deletions
  1. 11 0
      pom.xml
  2. 28 0
      src/main/java/com/zfire/jiasm/syncdata/base/BaseService.java
  3. 43 0
      src/main/java/com/zfire/jiasm/syncdata/base/WorkerCertificateInfo.java
  4. 2 0
      src/main/java/com/zfire/jiasm/syncdata/constant/Constant.java
  5. 0 2
      src/main/java/com/zfire/jiasm/syncdata/gree/CommonLogic.java
  6. 902 18
      src/main/java/com/zfire/jiasm/syncdata/gree/GreeLogic.java
  7. 17 0
      src/main/java/com/zfire/jiasm/syncdata/helper/GreeFileResponseHelper.java
  8. 19 0
      src/main/java/com/zfire/jiasm/syncdata/helper/GreeFileSaveHelper.java
  9. 196 0
      src/main/java/com/zfire/jiasm/syncdata/http/HttpUtil.java
  10. 160 0
      src/main/java/com/zfire/jiasm/syncdata/http/HttpUtils.java
  11. 108 0
      src/main/java/com/zfire/jiasm/syncdata/http/OkHttpUtil.java
  12. 153 0
      src/main/java/com/zfire/jiasm/syncdata/http/PostObjectSample.java
  13. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminFastEntryPlusTempController.java
  14. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminFieldPlusTempController.java
  15. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminModuleFavoritesPlusTempController.java
  16. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminModulePlusTempController.java
  17. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminRolePlusTempController.java
  18. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminUserModuleRelaPlusTempController.java
  19. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminUserPlusTempController.java
  20. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminUserRoleRelaPlusTempController.java
  21. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminWebsitPlusTempController.java
  22. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminWebsitProductTypeRelaPlusTempController.java
  23. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminWebsitSlavePlusTempController.java
  24. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/AreaPlusTempController.java
  25. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/BrandLbsRelatePlusTempController.java
  26. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/BrandPlusTempController.java
  27. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/BrandWebsitPlusTempController.java
  28. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CityPlusTempController.java
  29. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ComDetailLogPlusTempController.java
  30. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ComDetailPlusTempController.java
  31. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ComListPlusTempController.java
  32. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CommonFilePlusTempController.java
  33. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CompanyCaAuthPlusTempController.java
  34. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CompanyRecordManagePlusTempController.java
  35. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ContractTemplatePlusTempController.java
  36. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CustomerInformationCategoryPlusTempController.java
  37. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CustomerInformationPlusTempController.java
  38. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/CustomerInformationWebsitPlusTempController.java
  39. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ImgCarouselManagePlusTempController.java
  40. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InstallChargeConfigPlusTempController.java
  41. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureAgreePlusTempController.java
  42. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureEmailPlusTempController.java
  43. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureEmailRecordPlusTempController.java
  44. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsurePlusTempController.java
  45. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureRangePlusTempController.java
  46. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureWorkerCommercialFilePlusTempController.java
  47. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureWorkerCommercialPlusTempController.java
  48. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureWorkerRecordPlusTempController.java
  49. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralDoublePlusTempController.java
  50. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralGradeConfigurePlusTempController.java
  51. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralGradeExplainPlusTempController.java
  52. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralGradeSkillPlusTempController.java
  53. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralOffsetPlusTempController.java
  54. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralScorePlusTempController.java
  55. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralSkillLabelPlusTempController.java
  56. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralWorkerApplyPlusTempController.java
  57. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignGzdmDowloadPlusTempController.java
  58. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXqxlDowloadPlusTempController.java
  59. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXxlbDowloadPlusTempController.java
  60. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXxlyDowloadPlusTempController.java
  61. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXxqdDowloadPlusTempController.java
  62. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignYhsxWxDowloadPlusTempController.java
  63. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAzAssignXslxDowloadPlusTempController.java
  64. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblCityDownloadPlusTempController.java
  65. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblCityJdxzDownloadPlusTempController.java
  66. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblCountyDownloadPlusTempController.java
  67. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblProvinceDownloadPlusTempController.java
  68. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbDaleiDownloadPlusTempController.java
  69. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbJixinDownloadPlusTempController.java
  70. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbXiaoleiDownloadPlusTempController.java
  71. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbXilieDownloadPlusTempController.java
  72. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblWangdianWxgDownloadPlusTempController.java
  73. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblXinWangdianDownloadPlusTempController.java
  74. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblYhsxViprankDowloadPlusTempController.java
  75. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/LabelCurrencyPlusTempController.java
  76. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/LabelPlusTempController.java
  77. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/LbsAmapPlusTempController.java
  78. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/NoticePlusTempController.java
  79. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/NoticeRecordPlusTempController.java
  80. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/OperationLogPlusTempController.java
  81. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ProductPlusTempController.java
  82. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ProductSeriesPlusTempController.java
  83. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ProvincePlusTempController.java
  84. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/QualificationsManagePlusTempController.java
  85. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/RepairBugPlusTempController.java
  86. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/RepairProjectPlusTempController.java
  87. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/SmsRecordPlusTempController.java
  88. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/StreetPlusTempController.java
  89. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/SysDictPlusTempController.java
  90. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/SysDictRefPlusTempController.java
  91. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/SysDictTypePlusTempController.java
  92. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/ToolPlusTempController.java
  93. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/UserFeedbackPlusTempController.java
  94. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/UserPlusTempController.java
  95. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitEnclosureFilePlusTempController.java
  96. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitExamineRecordPlusTempController.java
  97. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitFilePlusTempController.java
  98. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitMainInfoChangeDataPlusTempController.java
  99. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitMainInfoChangePlusTempController.java
  100. 1 1
      src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitOrderSignPlusTempController.java

+ 11 - 0
pom.xml

@@ -57,6 +57,17 @@
         </dependency>
 
         <dependency>
+            <groupId>com.aliyun</groupId>
+            <artifactId>aliyun-java-sdk-sts</artifactId>
+            <version>3.0.0</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+            <version>5.2.5</version>
+        </dependency>
+
+        <dependency>
             <groupId>org.mybatis.spring.boot</groupId>
             <artifactId>mybatis-spring-boot-starter</artifactId>
             <version>2.1.0</version>

+ 28 - 0
src/main/java/com/zfire/jiasm/syncdata/base/BaseService.java

@@ -0,0 +1,28 @@
+package com.zfire.jiasm.syncdata.base;
+
+import com.zfire.jiasm.syncdata.plus.entity.Brand;
+import com.zfire.jiasm.syncdata.plus.service.BrandService;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+/**
+ * 基础服务实现类
+ * @author yaozx
+ * @since 2023-01-01
+ */
+@Slf4j
+@Service
+public class BaseService {
+    @Resource
+    BrandService brandService;
+
+     public Brand getBrand() {
+        Brand brand = brandService.lambdaQuery().eq(Brand::getBrand,"格力").one();
+        return brand;
+    }
+
+
+
+}

+ 43 - 0
src/main/java/com/zfire/jiasm/syncdata/base/WorkerCertificateInfo.java

@@ -0,0 +1,43 @@
+package com.zfire.jiasm.syncdata.base;
+
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * @author yaozx
+ * @version 1.0
+ * @description 介绍
+ * @date 2023-02-08
+ */
+@Data
+public class WorkerCertificateInfo {
+    @ApiModelProperty(value = "身份证正面")
+    private String sfzz;
+    @ApiModelProperty(value = "身份证反面")
+    private String sfzf;
+
+    @ApiModelProperty(value = "保险证正面")
+    private String bxz;
+    @ApiModelProperty(value = "保险证反面")
+    private String bxf;
+
+    @ApiModelProperty(value = "高空作业证正面")
+    private String gkzz;
+    @ApiModelProperty(value = "高空作业证反面")
+    private String gkzf;
+
+    @ApiModelProperty(value = "上岗资格证正面")
+    private String sgzgzz;
+    @ApiModelProperty(value = "上岗资格证反面")
+    private String sgzgzf;
+
+    @ApiModelProperty(value = "制冷工证正面")
+    private String zlgz;
+    @ApiModelProperty(value = "制冷工证反面")
+    private String zlgf;
+
+    @ApiModelProperty(value = "驾驶证正面")
+    private String jszz;
+    @ApiModelProperty(value = "驾驶证反面")
+    private String jszf;
+}

+ 2 - 0
src/main/java/com/zfire/jiasm/syncdata/constant/Constant.java

@@ -54,6 +54,8 @@ public class Constant {
 
         public final static String TOKEN = "SETTLE:TOKEN";
         public final static String TOKEN_GREE ="SETTLE:TOKEN:GREE";
+        public final static String TOKEN_GREE_FILE ="SETTLE:TOKEN:FILE";
+        public final static String TOKEN_GREE_IMAGE ="SETTLE:TOKEN:GREE:IMAGE";
         public final static String TOKEN_GREE_V3 ="SETTLE:TOKEN:GREE:V3";
         public final static String LOCK_PRE = "SETTLE:LOCK:PRE";
         public final static String WORK_TOKEN = "SETTLE:WORK:TOKEN";

+ 0 - 2
src/main/java/com/zfire/jiasm/syncdata/gree/CommonLogic.java

@@ -1,7 +1,5 @@
 package com.zfire.jiasm.syncdata.gree;
 
-import com.zfire.jiasm.syncdata.gree.CommonParam;
-import com.zfire.jiasm.syncdata.gree.OutAppDefaultReq;
 import com.zfire.jiasm.syncdata.utils.SignUtil;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;

+ 902 - 18
src/main/java/com/zfire/jiasm/syncdata/gree/GreeLogic.java

@@ -1,32 +1,58 @@
 package com.zfire.jiasm.syncdata.gree;
 
+import cn.hutool.core.io.FileUtil;
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
 import com.aliyuncs.utils.StringUtils;
 import com.zfire.jiasm.syncdata.constant.Constant;
 import com.zfire.jiasm.syncdata.exception.RemoteServiceException;
-import com.zfire.jiasm.syncdata.gree.CommonParam;
-import com.zfire.jiasm.syncdata.gree.OutAppDefaultReq;
+import com.zfire.jiasm.syncdata.helper.GreeFileResponseHelper;
+import com.zfire.jiasm.syncdata.helper.GreeFileSaveHelper;
 import com.zfire.jiasm.syncdata.helper.GreeResponseHelper;
 import com.zfire.jiasm.syncdata.helper.ResponseHelper;
+import com.zfire.jiasm.syncdata.http.HttpUtil;
 import com.zfire.jiasm.syncdata.http.HttpUtils;
+import com.zfire.jiasm.syncdata.request.FileSub;
+import com.zfire.jiasm.syncdata.request.UploadFileInfo;
+import com.zfire.jiasm.syncdata.request.UploadImageInfo;
+import com.zfire.jiasm.syncdata.response.ExtData;
 import com.zfire.jiasm.syncdata.utils.RedisUtil;
 import lombok.extern.slf4j.Slf4j;
+import org.apache.http.NameValuePair;
+import org.apache.http.client.ClientProtocolException;
+import org.apache.http.client.config.RequestConfig;
+import org.apache.http.client.entity.UrlEncodedFormEntity;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpPost;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClientBuilder;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.util.EntityUtils;
+import org.jetbrains.annotations.NotNull;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.http.HttpEntity;
 import org.springframework.http.HttpHeaders;
 import org.springframework.http.MediaType;
+import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Service;
 import org.springframework.util.LinkedMultiValueMap;
 import org.springframework.util.MultiValueMap;
 import org.springframework.web.client.HttpStatusCodeException;
 import org.springframework.web.client.RestTemplate;
 
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import javax.activation.MimetypesFileTypeMap;
+import javax.net.ssl.HostnameVerifier;
+import javax.net.ssl.HttpsURLConnection;
+import javax.net.ssl.SSLSession;
+import java.io.*;
+import java.net.ConnectException;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.*;
+
+import static com.zfire.jiasm.syncdata.utils.HttpUtil.trustAllHttpsCertificates;
 
 /**
  * 格力总部接口
@@ -34,12 +60,19 @@ import java.util.Map;
 @Slf4j
 @Service
 public class GreeLogic {
+    private static RequestConfig requestConfig = null;
+    private static HttpClientBuilder httpBuilder = null;
+
     @Value("${gree.gz.appid}")
     private String gzAppId;
     @Value("${gree.fs.appid}")
     private String fsAppId;
     @Value("${uploadbaseurl}")
     private String uploadbaseurl = "";
+    @Value("${sevefileurl}")
+    private String sevefileurl = "";
+    @Value("${downfileurl}")
+    private String downfileurl = "";
     @Value("${gree.gz.appkey}")
     private String gzAppKey;
     @Value("${gree.fs.appkey}")
@@ -50,6 +83,17 @@ public class GreeLogic {
     private String clientSecert;
     @Value("${gree.V3.gettoken}")
     private String tokenUrl;
+    @Value("${imagesign}")
+    private String imagesignUrl;
+    @Value("${imageurl}")
+    private String imageurl = "";
+    @Value("${gree.file.client.id}")
+    private String clientFileId;
+    @Value("${gree.V3.client.file.secert}")
+    private String clientFileSecert;
+    @Value("${gree.gettoken}")
+    private String tokenFileUrl;
+
 
     @Autowired
     RedisUtil redisUtil;
@@ -99,6 +143,27 @@ public class GreeLogic {
         return accessToken;
     }
 
+    public String getAccessTokenFile() throws RemoteServiceException {
+        /*String redisKey = Constant.RedisPrefix.TOKEN_GREE_FILE;
+        String token = (String)redisUtil.get(redisKey);
+        if(token != null){
+            return token;
+        }*/
+        MultiValueMap<String, String> forms= new LinkedMultiValueMap<String, String>();
+
+        forms.put("client_id", Collections.singletonList(clientFileId));
+        forms.put("client_secret", Collections.singletonList(clientFileSecert));
+        forms.put("grant_type", Collections.singletonList("client_credentials"));
+        String s = HttpUtils.requestXwww(tokenFileUrl, forms);
+        //String s = HttpUtils.requestPostForm(tokenUrl, map, null);
+        log.info("【获取总部token】response:{}",s);
+        JSONObject jsonObject = JSONObject.parseObject(s);
+        String accessToken = jsonObject.getString("access_token");
+        /*if(StringUtils.isNotEmpty(accessToken)) {
+            redisUtil.set(Constant.RedisPrefix.TOKEN_GREE_FILE, accessToken, 2 * 60 * 60);
+        }*/
+        return accessToken;
+    }
 
     /**
      * 请求总部接口
@@ -171,7 +236,7 @@ public class GreeLogic {
         header.put("authorization","Bearer "+this.getAccessToken());
 
         log.info("【请求总部接口】request:{}",JSONObject.toJSONString(outAppDefaultReq));
-//        String s = HttpUtils.post(apiUrl, JSONObject.toJSONString(outAppDefaultReq), header);
+        // String s = HttpUtils.post(apiUrl, JSONObject.toJSONString(outAppDefaultReq), header);
         // 设置请求头
         HttpHeaders headers = new HttpHeaders();
         headers.setContentType(MediaType.APPLICATION_JSON);
@@ -188,19 +253,838 @@ public class GreeLogic {
             log.info("【请求总部接口】response:{}",body);
             return JSONObject.parseObject(body, GreeResponseHelper.class);
         }catch(HttpStatusCodeException ex) {
-        	log.error("rawStatusCode = {}",ex.getRawStatusCode());
-        	GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
-        	greeResponseHelper.setStatus(ex.getRawStatusCode());
+            log.error("rawStatusCode = {}",ex.getRawStatusCode());
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ex.getRawStatusCode());
 //        	greeResponseHelper.setMsg(GreeResponseCodeEnum.valueOf(ex.getRawStatusCode()));
-        	greeResponseHelper.setMsg(ex.getMessage());
-        	ex.printStackTrace();
-        	return greeResponseHelper;
+            greeResponseHelper.setMsg(ex.getMessage());
+            ex.printStackTrace();
+            return greeResponseHelper;
         }catch(Exception e){
-        	GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
-        	greeResponseHelper.setStatus(ResponseHelper.ResponseCode_COMMON);
-        	greeResponseHelper.setMsg("非法请求");
-        	e.printStackTrace();
-        	return greeResponseHelper;
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ResponseHelper.ResponseCode_COMMON);
+            greeResponseHelper.setMsg("非法请求");
+            e.printStackTrace();
+            return greeResponseHelper;
         }
     }
+
+    public GreeFileSaveHelper greePostSaveFile(Map<String,String> req) throws Exception {
+        GreeFileSaveHelper greeResponseHelper = new GreeFileSaveHelper();
+
+        Map<String,String> header = new HashMap<>();
+        header.put("authorization","Bearer "+this.getAccessTokenFile());
+
+        // 设置请求头
+        HttpHeaders headers = new HttpHeaders();
+        headers.setContentType(MediaType.APPLICATION_JSON);
+        for(String str : header.keySet()){
+            headers.set(str,header.get(str));
+        }
+
+        RestTemplate restTemplate = new RestTemplate();
+        HttpEntity<String> httpEntity = new HttpEntity<>(JSONObject.toJSONString(req), headers);
+        //获取返回数据
+        try {
+            String body = restTemplate.postForObject(sevefileurl, httpEntity, String.class);
+            log.info("【请求总部接口保存文件】response:{}",body);
+            greeResponseHelper = JSONObject.parseObject(body, GreeFileSaveHelper.class);
+
+            return greeResponseHelper;
+        }catch(HttpStatusCodeException ex) {
+            log.error("rawStatusCode = {}",ex.getRawStatusCode());
+            greeResponseHelper.setStatusCode(ex.getRawStatusCode());
+            greeResponseHelper.setMsg(ex.getMessage());
+            ex.printStackTrace();
+            return greeResponseHelper;
+        }catch(Exception e){
+            greeResponseHelper.setStatusCode(ResponseHelper.ResponseCode_COMMON);
+            greeResponseHelper.setMsg("非法请求");
+            e.printStackTrace();
+            return greeResponseHelper;
+        }
+    }
+
+    // 下载文件
+    public Map<String, Object> greeDownFile(String id) throws Exception {
+        Map<String, Object> result = HttpUtil.httpGet(String.format(downfileurl,id,this.getAccessTokenFile()));
+        return result;
+    }
+
+
+
+
+
+
+    /**
+     * 请求总部接口
+     * @return
+     */
+    public GreeResponseHelper greePostImage(String apiPath, String bizContent,Integer belongType) throws Exception {
+        CommonParam commonParam = new CommonParam();
+        commonParam.setAppId(this.getAppId(belongType));
+        commonParam.setAppKey(this.getAppKey(belongType));
+        commonParam.setAppPath(apiPath);
+        commonParam.setJson(bizContent);
+        OutAppDefaultReq outAppDefaultReq = commonLogic.supplyParam(commonParam);
+        Map<String,String> header = new HashMap<>();
+
+        // this.getSignImage();
+
+
+        header.put("authorization","Bearer ");
+
+        log.info("【请求总部接口】request:{}",JSONObject.toJSONString(outAppDefaultReq));
+        log.info("imageurl:{}",imageurl);
+        log.info("apiPath:{}",apiPath);
+
+        // 设置请求头
+        HttpHeaders headers = new HttpHeaders();
+        headers.setContentType(MediaType.APPLICATION_JSON);
+
+        for(String str : header.keySet()){
+            headers.set(str,header.get(str));
+        }
+
+        RestTemplate restTemplate = new RestTemplate();
+        HttpEntity<String> httpEntity = new HttpEntity<>(JSONObject.toJSONString(outAppDefaultReq), headers);
+        //获取返回数据
+        try {
+            String body = restTemplate.postForObject(imageurl, httpEntity, String.class);
+            log.info("【请求总部接口】response:{}",body);
+            return JSONObject.parseObject(body, GreeResponseHelper.class);
+        }catch(HttpStatusCodeException ex) {
+            log.error("rawStatusCode = {}",ex.getRawStatusCode());
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ex.getRawStatusCode());
+//        	greeResponseHelper.setMsg(GreeResponseCodeEnum.valueOf(ex.getRawStatusCode()));
+            greeResponseHelper.setMsg(ex.getMessage());
+            ex.printStackTrace();
+            return greeResponseHelper;
+        }catch(Exception e){
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ResponseHelper.ResponseCode_COMMON);
+            greeResponseHelper.setMsg("非法请求");
+            e.printStackTrace();
+            return greeResponseHelper;
+        }
+    }
+
+    /**
+     * 请求总部接口
+     * @return
+     */
+    // 上传文件
+    public GreeResponseHelper greePostImageUpload(String fileName, ExtData data) throws IOException {
+        UploadImageInfo req = new UploadImageInfo();
+        UploadFileInfo reqIfo = new UploadFileInfo();
+        FileSub sub = new FileSub();
+
+        reqIfo.getMultipart().clear();
+
+        // 文件数组
+         byte[] fileBinary = getBytesFile(fileName);
+        // String fileBinary = getFileBinary(fileName);
+
+        // 生成对像
+        getReq(data, req, fileBinary);
+        sub.setName("key");
+        sub.setContents(data.getDir());
+        reqIfo.getMultipart().add(sub);
+        FileSub sub1 = new FileSub();
+        sub1.setName("OSSAccessKeyId");
+        sub1.setContents(data.getAccessid());
+        reqIfo.getMultipart().add(sub1);
+        FileSub sub2 = new FileSub();
+        sub2.setName("policy");
+        sub2.setContents(data.getPolicy());
+        reqIfo.getMultipart().add(sub2);
+        FileSub sub3 = new FileSub();
+        sub3.setName("Signature");
+        sub3.setContents(data.getSignature());
+        reqIfo.getMultipart().add(sub3);
+        FileSub sub4 = new FileSub();
+        sub4.setName("Expires");
+        sub4.setContents(data.getExpire());
+        reqIfo.getMultipart().add(sub4);
+        FileSub sub5 = new FileSub();
+        sub5.setName("success_action_status");
+        sub5.setContents(200);
+        reqIfo.getMultipart().add(sub5);
+
+
+
+        FileSub sub6 = new FileSub();
+
+        sub6.setName("file");
+        sub6.setContents(getFileBinary(fileName));
+
+
+        reqIfo.getMultipart().add(sub6);
+        log.info("url:{}",data.getHost());
+        // 设置请求头
+        Map<String,String> headers = new HashMap<>();
+        headers.put("Content-Type", "multipart/form-data");
+
+        //获取返回数据
+        try {
+            String s = HttpUtils.requestPostBodyt(data.getHost(), JSON.toJSONString(reqIfo), headers);
+            log.info("【上传文件结束】response:{}",s);
+            return JSONObject.parseObject(s, GreeResponseHelper.class);
+        }catch(HttpStatusCodeException ex) {
+            log.error("rawStatusCode = {}",ex.getRawStatusCode());
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ex.getRawStatusCode());
+            greeResponseHelper.setMsg(ex.getMessage());
+            ex.printStackTrace();
+            return greeResponseHelper;
+        }catch(Exception e){
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ResponseHelper.ResponseCode_COMMON);
+            greeResponseHelper.setMsg("非法请求");
+            e.printStackTrace();
+            return greeResponseHelper;
+        }
+
+    }
+
+    public GreeResponseHelper greePostImageUploadt(String fileName, ExtData data) throws IOException {
+        Map<String,Object> request = new HashMap<>();
+        // 生成报文
+        getReqx(data, request,fileName);
+
+        log.info("url:{}",data.getHost());
+        // 设置请求头
+        Map<String,String> headers = new HashMap<>();
+        headers.put("Content-Type", "multipart/form-data");
+
+        //获取返回数据
+        try {
+
+            String s = HttpUtils.requestPostBody(data.getHost(), JSON.toJSONString(request), headers);
+
+            log.info("【上传文件结束】response:{}",s);
+            return JSONObject.parseObject(s, GreeResponseHelper.class);
+        }catch(HttpStatusCodeException ex) {
+            log.error("rawStatusCode = {}",ex.getRawStatusCode());
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ex.getRawStatusCode());
+            greeResponseHelper.setMsg(ex.getMessage());
+            ex.printStackTrace();
+            return greeResponseHelper;
+        }catch(Exception e){
+            GreeResponseHelper greeResponseHelper = new GreeResponseHelper();
+            greeResponseHelper.setStatus(ResponseHelper.ResponseCode_COMMON);
+            greeResponseHelper.setMsg("非法请求");
+            e.printStackTrace();
+            return greeResponseHelper;
+        }
+
+    }
+
+
+    public String greePostImageUploadtt(String fileName, ExtData data) throws RemoteServiceException, IOException {
+        MultiValueMap<String, String> forms= new LinkedMultiValueMap<String, String>();
+        Map<String,String> headers = new HashMap<>();
+
+        forms.put("key",Collections.singletonList(data.getDir()));
+        forms.put("OSSAccessKeyId",Collections.singletonList(data.getAccessid()));
+        forms.put("policy",Collections.singletonList(data.getPolicy()));
+        forms.put("Signature",Collections.singletonList(data.getSignature()));
+        forms.put("Expires",Collections.singletonList(data.getExpire()));
+        forms.put("success_action_status",Collections.singletonList("200"));
+        forms.put("file",Collections.singletonList(getFileBinary(fileName)));
+
+        // 设置请求头
+        headers.put("Content-Type", "multipart/form-data");
+
+        // requestPostForm
+        String s = HttpUtils.requestXwww(data.getHost(), forms);
+        log.info("【上传文件结束】response:{}",s);
+
+        return s;
+    }
+
+
+    public String greePostImageUploadttt(String fileName, ExtData data) throws IOException {
+        Map<String, String> forms= new HashMap<>();
+        Map<String,String> headers = new HashMap<>();
+
+        forms.put("key",data.getDir());
+        forms.put("OSSAccessKeyId",data.getAccessid());
+        forms.put("policy",data.getPolicy());
+        forms.put("Signature",data.getSignature());
+        forms.put("Expires",data.getExpire());
+        forms.put("success_action_status","200");
+        forms.put("file",getFileBinary(fileName));
+
+        // 设置请求头
+        headers.put("Content-Type", "multipart/form-data");
+
+        // requestPostForm
+        String s = HttpUtils.requestPostForm(data.getHost(), forms,headers);
+        log.info("【上传文件结束】response:{}",s);
+
+        return s;
+    }
+
+
+    public String greePostImageUploadz(String fileName, ExtData data) throws IOException {
+        Map<String,Object> request = new HashMap<>();
+        Map<String,String> headers = new HashMap<>();
+        String resultData = "";
+
+        // 生成报文
+        getReqx(data, request,fileName);
+
+        // 设置请求头
+        headers.put("Content-Type", "multipart/form-data");
+
+        log.info("url:{}",data.getHost());
+
+        //获取返回数据
+        try {
+            // HttpRequest requestt =cn.hutool.http.HttpUtil.createPost(data.getHost());
+            // resultData = HttpUtils.sendData(data.getHost(),JSONObject.toJSONString(request));
+
+            resultData = cn.hutool.http.HttpUtil.post(data.getHost(),request);
+
+            log.info("【上传文件结束】response: {}",resultData);
+            return resultData;
+        }catch(HttpStatusCodeException ex) {
+            log.error("rawStatusCode = {}",ex.getRawStatusCode());
+            ex.printStackTrace();
+            return ex.getMessage();
+        }catch(Exception e){
+            e.printStackTrace();
+            return "非法请求";
+        }
+
+    }
+
+
+
+    public String greePostImageUploado(String fileName, ExtData data) throws RemoteServiceException, IOException {
+        MultiValueMap<String, String> forms= new LinkedMultiValueMap<String, String>();
+
+        forms.put("key",Collections.singletonList(data.getDir()));
+        forms.put("OSSAccessKeyId",Collections.singletonList(data.getAccessid()));
+        forms.put("policy",Collections.singletonList(data.getPolicy()));
+        forms.put("Signature",Collections.singletonList(data.getSignature()));
+        forms.put("Expires",Collections.singletonList(data.getExpire()));
+        forms.put("success_action_status",Collections.singletonList("200"));
+        forms.put("file",Collections.singletonList(getFileBinary(fileName)));
+
+        String s = HttpUtils.requestXww(data.getHost(), forms);
+        log.info("【文件上传】response:{}",s);
+        // JSONObject jsonObject = JSONObject.parseObject(s);
+        // String accessToken = jsonObject.getString("access_token");
+
+        return s;
+    }
+
+
+    public void greePostImagefile(String fileName, ExtData data) throws RemoteServiceException, IOException {
+        MultiValueMap<String, Object> forms= new LinkedMultiValueMap<>();
+        HttpHeaders headers = new HttpHeaders();
+        RestTemplate restTemplate = new RestTemplate();
+
+        // multipart/form-data
+        headers.setContentType(MediaType.valueOf("multipart/form-data"));
+
+        forms.put("key",Collections.singletonList(data.getDir()));
+        forms.put("OSSAccessKeyId",Collections.singletonList(data.getAccessid()));
+        forms.put("policy",Collections.singletonList(data.getPolicy()));
+        forms.put("Signature",Collections.singletonList(data.getSignature()));
+        forms.put("Expires",Collections.singletonList(data.getExpire()));
+        forms.put("success_action_status",Collections.singletonList(200));
+        log.info("forms: {}",forms);
+
+        forms.put("file",Collections.singletonList(getFileBinary(fileName)));
+        HttpEntity<MultiValueMap<String, Object>> requestParams = new HttpEntity<>(forms,headers);
+        ResponseEntity<String> response = restTemplate.postForEntity(data.getHost(),requestParams,String.class);
+
+
+        log.info("【文件上传结果】response:{}",response);
+
+    }
+
+
+    public String greePostImagefilet(String fileName, ExtData data) throws RemoteServiceException, IOException {
+        String strResult = "";
+        Map<String,Object> map = new HashMap<>();
+        map.put("key",data.getDir());
+        map.put("OSSAccessKeyId",data.getAccessid());
+        map.put("policy",data.getPolicy());
+        map.put("Signature",data.getSignature());
+        map.put("Expires",data.getExpire());
+        map.put("success_action_status",200);
+        map.put("file",getFileBinary(fileName));
+        CloseableHttpClient client = HttpClients.createDefault();
+        HttpPost httpPost = new HttpPost(data.getHost());
+        httpPost.setHeader("Content-Type","multipart/form-data");
+        List<NameValuePair> paramPairs = new ArrayList<>();
+        Set<String> keySet = map.keySet();
+        for (String key : keySet){
+            Object val = map.get(key);
+            paramPairs.add(new BasicNameValuePair(key,val.toString()));
+        }
+        UrlEncodedFormEntity entity;
+        try{
+            entity = new UrlEncodedFormEntity(paramPairs,"UTF-8");
+            log.info("参数:{}", entity);
+            httpPost.setEntity(entity);
+            CloseableHttpResponse resp = client.execute(httpPost);
+            try {
+                log.info("resp:{}", resp);
+
+                HttpEntity respEntity = (HttpEntity) resp.getEntity();
+                strResult = EntityUtils.toString((org.apache.http.HttpEntity) respEntity,"UTF-8");
+            } finally {
+                resp.close();
+            }
+        } catch (ClientProtocolException e){
+            e.printStackTrace();
+        } catch (UnsupportedEncodingException e){
+            e.printStackTrace();
+        } catch (IOException e){
+            e.printStackTrace();
+        } finally {
+            try {
+                client.close();
+            } catch (Exception e){
+                e.printStackTrace();
+            }
+            log.info("end :{}", strResult);
+            return strResult;
+        }
+
+    }
+
+
+
+    /**
+     * 测试上传图片
+     *
+     */
+    public static void testUploadImage(String fileName, ExtData data){
+        String url = data.getHost();
+
+        Map<String, String> textMap = new HashMap<String, String>();
+        //可以设置多个input的name,value
+        textMap.put("key",data.getDir());
+        textMap.put("OSSAccessKeyId",data.getAccessid());
+        textMap.put("policy",data.getPolicy());
+        textMap.put("Signature",data.getSignature());
+        textMap.put("Expires",data.getExpire());
+        textMap.put("success_action_status","200");
+
+        //设置file的name,路径
+        Map<String, String> fileMap = new HashMap<String, String>();
+        fileMap.put("upfile", fileName);
+        String contentType = "";//image/png
+        String ret = formUpload(url, textMap, fileMap,contentType);
+        log.info("ret: {}",ret);
+    }
+
+    /**
+     * 上传图片
+     * @param urlStr
+     * @param textMap
+     * @param fileMap
+     * @param contentType 没有传入文件类型默认采用application/octet-stream
+     * contentType非空采用filename匹配默认的图片类型
+     * @return 返回response数据
+     */
+    @SuppressWarnings("rawtypes")
+    public static String formUpload(String urlStr, Map<String, String> textMap,
+                                    Map<String, String> fileMap,String contentType) {
+        String res = "";
+        HttpURLConnection conn = null;
+        // boundary就是request头和上传文件内容的分隔符
+        String BOUNDARY = "---------------------------123821742118716";
+        try {
+            URL url = new URL(urlStr);
+            conn = (HttpURLConnection) url.openConnection();
+            conn.setConnectTimeout(5000);
+            conn.setReadTimeout(30000);
+            conn.setDoOutput(true);
+            conn.setDoInput(true);
+            conn.setUseCaches(false);
+            conn.setRequestMethod("POST");
+            conn.setRequestProperty("Connection", "Keep-Alive");
+            // conn.setRequestProperty("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.6)");
+            conn.setRequestProperty("Content-Type","multipart/form-data; boundary=" + BOUNDARY);
+            OutputStream out = new DataOutputStream(conn.getOutputStream());
+            // text
+            if (textMap != null) {
+                StringBuffer strBuf = new StringBuffer();
+                Iterator iter = textMap.entrySet().iterator();
+                while (iter.hasNext()) {
+                    Map.Entry entry = (Map.Entry) iter.next();
+                    String inputName = (String) entry.getKey();
+                    String inputValue = (String) entry.getValue();
+                    if (inputValue == null) {
+                        continue;
+                    }
+                    strBuf.append("\r\n").append("--").append(BOUNDARY).append("\r\n");
+                    strBuf.append("Content-Disposition: form-data; name=\"" + inputName + "\"\r\n\r\n");
+                    strBuf.append(inputValue);
+                }
+                out.write(strBuf.toString().getBytes());
+            }
+            // file
+            if (fileMap != null) {
+                Iterator iter = fileMap.entrySet().iterator();
+                while (iter.hasNext()) {
+                    Map.Entry entry = (Map.Entry) iter.next();
+                    String inputName = (String) entry.getKey();
+                    String inputValue = (String) entry.getValue();
+                    if (inputValue == null) {
+                        continue;
+                    }
+                    File file = new File(inputValue);
+                    String filename = file.getName();
+
+                    //没有传入文件类型,同时根据文件获取不到类型,默认采用application/octet-stream
+                    contentType = new MimetypesFileTypeMap().getContentType(file);
+                    //contentType非空采用filename匹配默认的图片类型
+                    if(!"".equals(contentType)){
+                        if (filename.endsWith(".png")) {
+                            contentType = "image/png";
+                        }else if (filename.endsWith(".jpg") || filename.endsWith(".jpeg") || filename.endsWith(".jpe")) {
+                            contentType = "image/jpeg";
+                        }else if (filename.endsWith(".gif")) {
+                            contentType = "image/gif";
+                        }else if (filename.endsWith(".ico")) {
+                            contentType = "image/image/x-icon";
+                        }
+                    }
+                    if (contentType == null || "".equals(contentType)) {
+                        contentType = "application/octet-stream";
+                    }
+                    StringBuffer strBuf = new StringBuffer();
+                    strBuf.append("\r\n").append("--").append(BOUNDARY).append("\r\n");
+                    strBuf.append("Content-Disposition: form-data; name=\"" + inputName + "\"; filename=\"" + filename + "\"\r\n");
+                    strBuf.append("Content-Type:" + contentType + "\r\n\r\n");
+                    out.write(strBuf.toString().getBytes());
+                    DataInputStream in = new DataInputStream(new FileInputStream(file));
+                    int bytes = 0;
+                    byte[] bufferOut = new byte[1024];
+                    while ((bytes = in.read(bufferOut)) != -1) {
+                        out.write(bufferOut, 0, bytes);
+                    }
+                    in.close();
+                }
+            }
+            byte[] endData = ("\r\n--" + BOUNDARY + "--\r\n").getBytes();
+            out.write(endData);
+            out.flush();
+            out.close();
+            // 读取返回数据
+            StringBuffer strBuf = new StringBuffer();
+            BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
+            String line = null;
+            while ((line = reader.readLine()) != null) {
+                strBuf.append(line).append("\n");
+            }
+            res = strBuf.toString();
+            reader.close();
+            reader = null;
+        } catch (Exception e) {
+            System.out.println("发送POST请求出错。" + urlStr);
+            e.printStackTrace();
+        } finally {
+            if (conn != null) {
+                conn.disconnect();
+                conn = null;
+            }
+        }
+        return res;
+    }
+
+
+    private void getReq(ExtData data, UploadImageInfo req, byte[] bytesArray) {
+        req.setKey(data.getDir());
+        req.setOSSAccessKeyId(data.getAccessid());
+        req.setPolicy(data.getPolicy());
+        req.setSignature(data.getSignature());
+        req.setExpires(data.getExpire());
+        req.setSuccess_action_status(200);
+
+        log.info("req: {}",req);
+
+        // req.setFile(bytesArray);
+    }
+
+
+    private void getReqx(ExtData data, Map<String,Object> req, String fileName) throws IOException {
+        req.put("key",data.getDir());
+        req.put("OSSAccessKeyId",data.getAccessid());
+        req.put("policy",data.getPolicy());
+        req.put("Signature",data.getSignature());
+        req.put("Expires",data.getExpire());
+        req.put("success_action_status",200);
+
+        req.put("file",getFileBinary(fileName));
+    }
+
+
+    @NotNull
+    private byte[] getBytesFile(String fileName) throws IOException {
+        File file = new File(fileName);
+        byte[] bytesArray = new byte[(int) file.length()];
+        FileInputStream fis = new FileInputStream(file);
+        fis.read(bytesArray);
+        fis.close();
+        return bytesArray;
+    }
+
+    @NotNull
+    public static String getFileBinary(String fileName) throws IOException {
+        File file = new File(fileName);
+        String string = FileUtil.readUtf8String(file);
+        return string;
+
+    }
+
+    /**
+     * 请求总部接口-获取签名
+     *
+     * @return
+     */
+    public GreeFileResponseHelper ossGetSignt (String wdno, String requestMethod) throws Exception {
+        StringBuffer buffer = new StringBuffer();
+        HttpURLConnection httpUrlConn = null;
+        GreeFileResponseHelper greeResponseHelper = new GreeFileResponseHelper();
+
+        try {
+            trustAllHttpsCertificates();
+            HostnameVerifier hv = new HostnameVerifier() {
+                public boolean verify(String urlHostName, SSLSession session) {
+                    return true;
+                }
+            };
+            HttpsURLConnection.setDefaultHostnameVerifier(hv);
+
+            URL url = new URL(String.format(imagesignUrl,wdno));
+            httpUrlConn = (HttpURLConnection) url.openConnection();
+            httpUrlConn.setDoOutput(true);
+            httpUrlConn.setDoInput(true);
+            httpUrlConn.setUseCaches(false);
+            httpUrlConn.setConnectTimeout(30000);
+            httpUrlConn.setReadTimeout(30000);
+            httpUrlConn.setRequestProperty("Authorization", "Bearer " + this.getAccessTokenFile());
+            httpUrlConn.setRequestProperty("Accept", "*/*");
+            httpUrlConn.setRequestProperty("Content-Type", "application/json");
+            httpUrlConn.setRequestMethod(requestMethod);
+            if ("GET".equalsIgnoreCase(requestMethod)) {
+                httpUrlConn.connect();
+            }
+            InputStream inputStream;
+            if (httpUrlConn.getResponseCode() == HttpURLConnection.HTTP_OK) {
+                inputStream = httpUrlConn.getInputStream();
+            } else {
+                inputStream = httpUrlConn.getErrorStream();
+            }
+
+            InputStreamReader inputStreamReader = new InputStreamReader(inputStream, "utf-8");
+            BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
+
+            String str = null;
+            while ((str = bufferedReader.readLine()) != null) {
+                buffer.append(str);
+            }
+            bufferedReader.close();
+            inputStreamReader.close();
+            inputStream.close();
+            httpUrlConn.disconnect();
+            String result = buffer.toString();
+            log.info("【请求总部接口】response:{}", result);
+            greeResponseHelper = JSONObject.parseObject(result, GreeFileResponseHelper.class);
+            return greeResponseHelper;
+        } catch (HttpStatusCodeException ex) {
+            httpUrlConn.disconnect();
+            log.error("rawStatusCode = {}", ex.getRawStatusCode());
+            greeResponseHelper.setStatusCode(ex.getRawStatusCode());
+            greeResponseHelper.setMsg(ex.getMessage());
+            ex.printStackTrace();
+            return greeResponseHelper;
+        } catch (Exception e) {
+            httpUrlConn.disconnect();
+            greeResponseHelper.setStatusCode(ResponseHelper.ResponseCode_COMMON);
+            greeResponseHelper.setMsg("非法请求");
+            e.printStackTrace();
+            return greeResponseHelper;
+        }
+    }
+
+    /**
+     * 请求总部接口-获取签名
+     * @return
+     */
+    public JSONObject greeGetSign(String requestUrl, String requestMethod) throws Exception{
+        JSONObject jsonresult = null;
+        StringBuffer buffer = new StringBuffer();
+        HttpURLConnection httpUrlConn = null;
+
+        try {
+            trustAllHttpsCertificates();
+            HostnameVerifier hv = new HostnameVerifier() {
+                public boolean verify(String urlHostName, SSLSession session) {
+                    return true;
+                }
+            };
+            HttpsURLConnection.setDefaultHostnameVerifier(hv);
+
+            URL url = new URL(requestUrl);
+            httpUrlConn = (HttpURLConnection) url.openConnection();
+            httpUrlConn.setDoOutput(true);
+            httpUrlConn.setDoInput(true);
+            httpUrlConn.setUseCaches(false);
+            httpUrlConn.setConnectTimeout(30000);
+            httpUrlConn.setReadTimeout(30000);
+            httpUrlConn.setRequestProperty("Authorization", "Bearer "+this.getAccessTokenFile());
+            httpUrlConn.setRequestProperty("Accept", "*/*");
+            httpUrlConn.setRequestProperty("Content-Type", "application/json");
+            httpUrlConn.setRequestMethod(requestMethod);
+            if ("GET".equalsIgnoreCase(requestMethod)){
+                httpUrlConn.connect();
+            }
+
+            log.info("获取签名 Url: {}",requestUrl);
+            InputStream inputStream;
+            if (httpUrlConn.getResponseCode() == HttpURLConnection.HTTP_OK) {
+                inputStream = httpUrlConn.getInputStream();
+            } else {
+                inputStream = httpUrlConn.getErrorStream();
+            }
+
+            InputStreamReader inputStreamReader = new InputStreamReader(inputStream, "utf-8");
+            BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
+
+            String str = null;
+            while ((str = bufferedReader.readLine()) != null) {
+                buffer.append(str);
+            }
+            bufferedReader.close();
+            inputStreamReader.close();
+            inputStream.close();
+            httpUrlConn.disconnect();
+            String result = buffer.toString();
+
+            log.info("获取答名结果:{}",result);
+
+            jsonresult = JSONObject.parseObject(result);
+        } catch (ConnectException ce) {
+            log.error("发生错误", ce);
+            throw ce;
+        } catch (Exception e) {
+            log.error("发生错误", e);
+            throw e;
+        } finally {
+            try {
+                httpUrlConn.disconnect();
+            } catch (Exception e) {
+                log.error("发生错误", e);
+            }
+        }
+        return jsonresult;
+    }
+
+
+
+
+
+
+    /**
+     * 请求总部接口-获取签名
+     * @return
+     */
+    public JSONObject greeGetSignBack(String requestUrl, String requestMethod) throws Exception{
+        JSONObject jsonresult = null;
+        StringBuffer buffer = new StringBuffer();
+        HttpURLConnection httpUrlConn = null;
+
+        try {
+            trustAllHttpsCertificates();
+            HostnameVerifier hv = new HostnameVerifier() {
+                public boolean verify(String urlHostName, SSLSession session) {
+                    return true;
+                }
+            };
+            HttpsURLConnection.setDefaultHostnameVerifier(hv);
+
+            URL url = new URL(requestUrl);
+            httpUrlConn = (HttpURLConnection) url.openConnection();
+            httpUrlConn.setDoOutput(true);
+            httpUrlConn.setDoInput(true);
+            httpUrlConn.setUseCaches(false);
+            httpUrlConn.setConnectTimeout(30000);
+            httpUrlConn.setReadTimeout(30000);
+            httpUrlConn.setRequestProperty("Authorization", "Bearer "+this.getAccessTokenFile());
+            httpUrlConn.setRequestProperty("Accept", "*/*");
+            httpUrlConn.setRequestProperty("Content-Type", "application/json");
+            httpUrlConn.setRequestMethod(requestMethod);
+            if ("GET".equalsIgnoreCase(requestMethod)){
+                httpUrlConn.connect();
+            }
+
+            log.info("获取签名 Url: {}",requestUrl);
+            InputStream inputStream;
+            if (httpUrlConn.getResponseCode() == HttpURLConnection.HTTP_OK) {
+                inputStream = httpUrlConn.getInputStream();
+            } else {
+                inputStream = httpUrlConn.getErrorStream();
+            }
+
+            InputStreamReader inputStreamReader = new InputStreamReader(inputStream, "utf-8");
+            BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
+
+            String str = null;
+            while ((str = bufferedReader.readLine()) != null) {
+                buffer.append(str);
+            }
+            bufferedReader.close();
+            inputStreamReader.close();
+            inputStream.close();
+            httpUrlConn.disconnect();
+            String result = buffer.toString();
+
+            log.info("获取答名结果:{}",result);
+
+            jsonresult = JSONObject.parseObject(result);
+        } catch (ConnectException ce) {
+            log.error("发生错误", ce);
+            throw ce;
+        } catch (Exception e) {
+            log.error("发生错误", e);
+            throw e;
+        } finally {
+            try {
+                httpUrlConn.disconnect();
+            } catch (Exception e) {
+                log.error("发生错误", e);
+            }
+        }
+        return jsonresult;
+    }
+
+
+    public static Map<String, Object> httpGet(String url) throws Exception {
+        log.info("url:{}",url);
+        return HttpUtil.httpGet(url);
+    }
+
+
+    /**
+     * 获取http客户端连接
+     *
+     * @return http客户端连接
+     */
+    public static CloseableHttpClient getConnection() {
+        return httpBuilder.build();
+    }
+
+
 }

+ 17 - 0
src/main/java/com/zfire/jiasm/syncdata/helper/GreeFileResponseHelper.java

@@ -0,0 +1,17 @@
+package com.zfire.jiasm.syncdata.helper;
+
+import lombok.Data;
+
+/**
+ * @author yaozx
+ * @version 1.0
+ * @description 介绍
+ * @date 2023-02-04
+ */
+@Data
+public class GreeFileResponseHelper<T> {
+    private T data;
+    private String timestamp;
+    private String msg;
+    private int statusCode;
+}

+ 19 - 0
src/main/java/com/zfire/jiasm/syncdata/helper/GreeFileSaveHelper.java

@@ -0,0 +1,19 @@
+package com.zfire.jiasm.syncdata.helper;
+
+import com.zfire.jiasm.syncdata.response.SaveFileResultData;
+import lombok.Data;
+import org.apache.poi.ss.formula.functions.T;
+
+/**
+ * @author yaozx
+ * @version 1.0
+ * @description 介绍
+ * @date 2023-02-07
+ */
+@Data
+public class GreeFileSaveHelper {
+    private SaveFileResultData data;
+    private String timestamp;
+    private String msg;
+    private int statusCode;
+}

+ 196 - 0
src/main/java/com/zfire/jiasm/syncdata/http/HttpUtil.java

@@ -0,0 +1,196 @@
+package com.zfire.jiasm.syncdata.http;
+
+import com.alibaba.fastjson.JSON;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.http.HttpEntity;
+import org.apache.http.HttpResponse;
+import org.apache.http.NameValuePair;
+import org.apache.http.client.config.RequestConfig;
+import org.apache.http.client.entity.UrlEncodedFormEntity;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpPost;
+import org.apache.http.client.methods.HttpUriRequest;
+import org.apache.http.client.methods.RequestBuilder;
+import org.apache.http.entity.StringEntity;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClientBuilder;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.protocol.HTTP;
+import org.apache.http.util.EntityUtils;
+
+import java.io.IOException;
+import java.nio.charset.Charset;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+@Slf4j
+public class HttpUtil {
+
+    private static PoolingHttpClientConnectionManager connectionManager = null;
+    private static HttpClientBuilder httpBuilder = null;
+    private static RequestConfig requestConfig = null;
+
+    /**
+     * 最大连接连接数量
+     */
+    private static int MAX_CONNECTION = 100;
+    /**
+     * 最大并发请求数量
+     */
+    private static int DEFAULT_MAX_CONNECTION = 50;
+
+    static {
+        //设置http的状态参数
+        requestConfig = RequestConfig.custom()
+                .setSocketTimeout(10000)
+                .setConnectTimeout(10000)
+                .setConnectionRequestTimeout(10000)
+                .build();
+
+        connectionManager = new PoolingHttpClientConnectionManager();
+        connectionManager.setMaxTotal(MAX_CONNECTION);
+        connectionManager.setDefaultMaxPerRoute(DEFAULT_MAX_CONNECTION);
+        httpBuilder = HttpClients.custom();
+        httpBuilder.setConnectionManager(connectionManager);
+    }
+
+    /**
+     * 获取http客户端连接
+     *
+     * @return http客户端连接
+     */
+    public static CloseableHttpClient getConnection() {
+        return httpBuilder.build();
+    }
+
+    /**
+     * http post请求,利用http请求池
+     *
+     * @param url       请求url
+     * @param paramsMap 请求参数
+     * @return 请求结果
+     * @throws Exception 异常
+     */
+    public static String httpPost(String url, Map<String, String> paramsMap) throws Exception {
+        List<NameValuePair> params = new ArrayList<>();
+
+        for (Map.Entry<String, String> e : paramsMap.entrySet()) {
+            NameValuePair pair = new BasicNameValuePair(e.getKey(), e.getValue());
+            params.add(pair);
+        }
+
+        HttpUriRequest postMethod = RequestBuilder.post().setUri(url)
+                .addParameters(params.toArray(new BasicNameValuePair[params.size()]))
+                .setConfig(requestConfig).build();
+
+        HttpResponse response = getConnection().execute(postMethod);
+
+        return EntityUtils.toString(response.getEntity());
+    }
+
+    /**
+     * http post请求,利用http请求池
+     *
+     * @param url     请求url
+     * @param jsonStr json字符串
+     * @return 请求结果
+     * @throws Exception 异常
+     */
+    public static String httpPostJson(String url, String jsonStr) throws Exception {
+
+        HttpUriRequest postMethod = RequestBuilder.post().setUri(url)
+                .setHeader("Content-Type", "application/json;charset=utf-8")
+                .setHeader("Accept", "application/json")
+                .setEntity(new StringEntity(jsonStr, Charset.forName("UTF-8")))
+                .setConfig(requestConfig).build();
+        HttpResponse response = getConnection().execute(postMethod);
+
+        return EntityUtils.toString(response.getEntity());
+    }
+
+    /**
+     * http get请求,利用http请求池
+     *
+     * @param url 请求url
+     * @return 请求结果
+     * @throws Exception 异常
+     */
+    public static Map<String, Object> httpGet(String url) throws Exception {
+        HttpUriRequest getMethod = RequestBuilder.get().setUri(url)
+                .setConfig(requestConfig).build();
+
+        HttpResponse response = getConnection().execute(getMethod);
+        Map<String, Object> result = JSON.parseObject(EntityUtils.toString(response.getEntity()));
+        log.info("httpGet result :" + response.getEntity());
+        return result;
+    }
+
+    /**
+     * http get请求,利用http请求池
+     *
+     * @param url       请求url
+     * @param paramsMap 请求参数
+     * @return 请求结果
+     * @throws Exception 异常
+     */
+    public static String httpGet(String url, Map<String, String> paramsMap) throws Exception {
+        List<NameValuePair> params = new ArrayList<>();
+
+        for (Map.Entry<String, String> e : paramsMap.entrySet()) {
+            NameValuePair pair = new BasicNameValuePair(e.getKey(), e.getValue());
+            params.add(pair);
+        }
+
+        HttpUriRequest getMethod = RequestBuilder.get().setUri(url)
+                .addParameters(params.toArray(new BasicNameValuePair[params.size()]))
+                .setConfig(requestConfig).build();
+
+        HttpResponse response = getConnection().execute(getMethod);
+
+        return EntityUtils.toString(response.getEntity());
+    }
+
+    /**
+     * http post 请求,每次创建请求客户端
+     *
+     * @param url    url
+     * @param params 请求参数
+     * @return 请求返回值
+     */
+    public static String httpPostNoPool(String url, Map<String, String> params) {
+        CloseableHttpClient closeableHttpClient = null;
+        try {
+            HttpPost httpPost = new HttpPost(url);
+
+            if (params != null) {
+                List<NameValuePair> form = new ArrayList<>();
+
+                for (String name : params.keySet()) {
+                    form.add(new BasicNameValuePair(name, params.get(name)));
+                }
+
+                httpPost.setEntity(new UrlEncodedFormEntity(form, HTTP.UTF_8));
+            }
+
+            closeableHttpClient = HttpClients.createDefault();
+            CloseableHttpResponse httpResponse = closeableHttpClient.execute(httpPost);
+            HttpEntity entry = httpResponse.getEntity();
+            return EntityUtils.toString(entry);
+        } catch (Exception e) {
+            log.error("HttpUtil.httpPost failed!", e);
+        } finally {
+            if (null != closeableHttpClient) {
+                try {
+                    closeableHttpClient.close();
+                } catch (IOException e) {
+                    log.error("closeableHttpClient.close failed!", e);
+                }
+            }
+        }
+        return null;
+    }
+
+}

+ 160 - 0
src/main/java/com/zfire/jiasm/syncdata/http/HttpUtils.java

@@ -1,6 +1,22 @@
 package com.zfire.jiasm.syncdata.http;
 
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.toolkit.StringUtils;
 import com.zfire.jiasm.syncdata.exception.RemoteServiceException;
+import okhttp3.FormBody;
+import okhttp3.Request;
+import okhttp3.RequestBody;
+import okhttp3.Response;
+import org.apache.http.HttpStatus;
+import org.apache.http.client.config.RequestConfig;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpPost;
+import org.apache.http.conn.HttpHostConnectException;
+import org.apache.http.entity.StringEntity;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.util.EntityUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.http.HttpEntity;
@@ -9,6 +25,7 @@ import org.springframework.http.MediaType;
 import org.springframework.util.MultiValueMap;
 import org.springframework.web.client.RestTemplate;
 
+import java.io.IOException;
 import java.util.Map;
 
 
@@ -38,6 +55,81 @@ public class HttpUtils {
     }
 
 
+    public static String requestPostBodyt(String url, String json, Map<String, String> heads) {
+        // 设置请求头
+        HttpHeaders headers = new HttpHeaders();
+        headers.setContentType(MediaType.valueOf("multipart/form-data"));
+
+        for(String str : heads.keySet()){
+            headers.set(str,heads.get(str));
+        }
+
+        RestTemplate restTemplate = new RestTemplate();
+        HttpEntity<String> httpEntity = new HttpEntity<>(json, headers);
+
+        //获取返回数据
+        try {
+            String body = restTemplate.postForObject(url, httpEntity, String.class);
+            return body;
+        }catch(Exception e){
+            throw new RemoteServiceException(e.getMessage());
+        }
+    }
+
+    public static String sendData(String url, String content) {
+        CloseableHttpClient httpClient;
+        HttpPost httpPost = null;
+        org.apache.http.HttpEntity entity;
+        long interval = System.currentTimeMillis();
+        String resStr="";
+        JSONObject json = new JSONObject();
+        try {
+            httpClient = HttpClients.createDefault();
+            if (httpClient == null) {
+                throw new Exception("httpClient create failed");
+            }
+
+            httpPost = new HttpPost(url);
+            RequestConfig reqconfig = RequestConfig.custom()
+                    .setConnectTimeout(60 * 1000)
+                    .setConnectionRequestTimeout(60 * 1000)
+                    .setSocketTimeout(60 * 1000).build();
+            httpPost.setConfig(reqconfig);
+            httpPost.setHeader("Content-Type", "multipart/form-data");
+            httpPost.setEntity(new StringEntity(content, "UTF-8"));
+
+            //CloseableHttpResponse res = httpClient.execute(httpPost);
+            //int status = res.getStatusLine().getStatusCode();
+            CloseableHttpResponse response =  httpClient.execute(httpPost);
+            int status = response.getStatusLine().getStatusCode();
+            entity = response.getEntity();
+            resStr = EntityUtils.toString(entity).trim();
+            EntityUtils.consume(entity);
+            response.close();
+            if (status != HttpStatus.SC_OK) {
+                json.put("respCode","faile");
+                json.put("respDesc","网络状态异常A");
+
+
+                resStr=JSON.toJSON(json.toJSONString()).toString();
+            }
+        } catch (HttpHostConnectException ex) {
+            json.put("respCode","faile");
+            json.put("respDesc","请求异常B");
+            resStr=JSON.toJSON(json.toJSONString()).toString();
+        } catch (Exception ex) {
+            json.put("respCode","faile");
+            json.put("respDesc","请求异常C");
+            resStr=JSON.toJSON(json.toJSONString()).toString();
+        } finally {
+            interval = System.currentTimeMillis() - interval;
+            if (httpPost != null)
+                httpPost.releaseConnection();
+            return resStr;
+        }
+    }
+
+
     static public String requestXwww(String url, MultiValueMap<String, String> forms) {
         // 设置请求头
         HttpHeaders headers = new HttpHeaders();
@@ -48,8 +140,76 @@ public class HttpUtils {
         //获取返回数据
         String body = restTemplate.postForObject(url, httpEntity, String.class);
         return body;
+    }
 
+    static public String requestXww(String url, MultiValueMap<String, String> forms) {
+        // 设置请求头
+        HttpHeaders headers = new HttpHeaders();
+        headers.setContentType(MediaType.valueOf(MediaType.MULTIPART_FORM_DATA_VALUE));
+        RestTemplate restTemplate=new RestTemplate();
+        HttpEntity<MultiValueMap<String, String>> httpEntity = new HttpEntity<MultiValueMap<String, String>>(forms, headers);
+
+        //获取返回数据
+        String body = restTemplate.postForObject(url, httpEntity, String.class);
+        return body;
+
+    }
+
+    static public String requestPostForm(String url, Map<String, String> params, Map<String, String> heads) throws RemoteServiceException {
+
+        Request.Builder builder = getFormBuilder(url,params,heads);
+
+        Request req = builder.build();
+
+        try {
+            Response response = OkHttpUtil.execute(req);
+            if (response.isSuccessful()) {
+                return response.body().string();
+            } else {
+                throw new RemoteServiceException(response.code(), response.message());
+            }
+        } catch (IOException e) {
+            e.printStackTrace();
+            throw new RemoteServiceException(505, e.getMessage());
+        }
     }
 
 
+
+    static private Request.Builder getFormBuilder(String url, Map<String, String> params, Map<String, String> heads) {
+        FormBody.Builder bodyBuilder = new FormBody.Builder();
+        try {
+            if (params != null) {
+                for (String key : params.keySet()) {
+                    if (StringUtils.isNotEmpty(params.get(key))) {
+                        bodyBuilder.add(key, params.get(key));
+                    } else {
+                        bodyBuilder.add(key, "");
+                    }
+                }
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            System.out.println(e);
+        }
+
+        RequestBody body = bodyBuilder.build();
+        Request.Builder builder = new Request.Builder();
+
+        if (heads != null) {
+            for (String key : heads.keySet()) {
+
+                builder.addHeader(key, heads.get(key));
+            }
+        }
+        builder.url(url);
+        builder.post(body);
+
+        return builder;
+
+    }
+
+
+
+
 }

+ 108 - 0
src/main/java/com/zfire/jiasm/syncdata/http/OkHttpUtil.java

@@ -0,0 +1,108 @@
+package com.zfire.jiasm.syncdata.http;
+
+import okhttp3.*;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.IOException;
+import java.util.concurrent.TimeUnit;
+
+/**
+ * @Author: duke
+ * @Date: 2018/4/16 下午2:13
+ */
+public class OkHttpUtil {
+    private final static Logger logger = LoggerFactory.getLogger(OkHttpUtil.class);
+    private static final OkHttpClient mOkHttpClient = new OkHttpClient().newBuilder()
+            .connectTimeout(180, TimeUnit.SECONDS)
+                .callTimeout(180,TimeUnit.SECONDS)
+                .writeTimeout(180,TimeUnit.SECONDS)
+                .readTimeout(180, TimeUnit.SECONDS).build();
+
+    /**
+     * 该不会开启异步线程。
+     *
+     * @param request
+     * @return
+     * @throws IOException
+     */
+    public static Response execute(Request request) throws IOException {
+        return mOkHttpClient.newCall(request).execute();
+    }
+
+    /**
+     * 开启异步线程访问网络
+     *
+     * @param request
+     * @param responseCallback
+     */
+    public static void enqueue(Request request, Callback responseCallback) {
+        mOkHttpClient.newCall(request).enqueue(responseCallback);
+    }
+
+    /**
+     * 开启异步线程访问网络, 且不在意返回结果(实现空callback)
+     *
+     * @param request
+     */
+    public static void enqueue(Request request) {
+        mOkHttpClient.newCall(request).enqueue(new Callback() {
+            @Override
+            public void onFailure(Call call, IOException e) {
+                logger.error("enqueue", e);
+            }
+
+            @Override
+            public void onResponse(Call call, Response response) throws IOException {
+
+            }
+        });
+    }
+
+    public static String getStringFromServer(String url) throws IOException {
+        Request request = new Request.Builder().url(url).build();
+        Response response = execute(request);
+        if (response.isSuccessful()) {
+            String responseUrl = response.body().string();
+            return responseUrl;
+        } else {
+            logger.error("getStringFromServer", response);
+            throw new IOException("Unexpected code " + response);
+        }
+    }
+
+    private static final String CHARSET_NAME = "UTF-8";
+
+    /**
+     * 这里使用了HttpClinet的API。只是为了方便
+     *
+     * @param params
+     * @return
+     */
+//    public static String formatParams(List<BasicNameValuePair> params) {
+//        return URLEncodedUtils.format(params, CHARSET_NAME);
+//    }
+
+    /**
+     * 为HttpGet 的 url 方便的添加多个name value 参数。
+     *
+     * @param url
+     * @param params
+     * @return
+     */
+//    public static String attachHttpGetParams(String url, List<BasicNameValuePair> params) {
+//        return url + "?" + formatParams(params);
+//    }
+
+    /**
+     * 为HttpGet 的 url 方便的添加1个name value 参数。
+     *
+     * @param url
+     * @param name
+     * @param value
+     * @return
+     */
+    public static String attachHttpGetParam(String url, String name, String value) {
+        return url + "?" + name + "=" + value;
+    }
+}

+ 153 - 0
src/main/java/com/zfire/jiasm/syncdata/http/PostObjectSample.java

@@ -0,0 +1,153 @@
+package com.zfire.jiasm.syncdata.http;
+
+import com.alibaba.fastjson.JSONObject;
+import com.aliyun.oss.ClientException;
+import com.aliyun.oss.common.utils.BinaryUtil;
+import com.aliyun.oss.internal.OSSUtils;
+import com.aliyun.oss.model.Callback;
+import com.zfire.jiasm.syncdata.gree.GreeLogic;
+import com.zfire.jiasm.syncdata.response.ExtData;
+import lombok.extern.slf4j.Slf4j;
+
+import javax.activation.MimetypesFileTypeMap;
+import java.io.*;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+@Slf4j
+public class PostObjectSample {
+
+    /**
+     * 表单上传。
+     * @throws Exception
+     */
+    public String PostObject(String fileName, ExtData data) throws Exception {
+        // 设置表单Map。
+        Map<String, String> formFields = new LinkedHashMap<String, String>();
+        formFields.put("key", data.getDir());
+        formFields.put("OSSAccessKeyId",data.getAccessid());
+        formFields.put("policy",data.getPolicy());
+        formFields.put("Signature", data.getSignature());
+
+        log.info("formFields: {}",JSONObject.toJSONString(formFields));
+
+        String result = formUpload(data.getHost(), formFields, fileName);
+
+        log.info("reponse: {}", result);
+        return result;
+    }
+
+
+
+
+
+    private static String formUpload(String urlStr, Map<String, String> formFields, String localFile)
+            throws Exception {
+        String res = "";
+        HttpURLConnection conn = null;
+        String boundary = "9431149156168";
+        try {
+            URL url = new URL(urlStr);
+            conn = (HttpURLConnection) url.openConnection();
+            conn.setConnectTimeout(5000);
+            conn.setReadTimeout(30000);
+            conn.setDoOutput(true);
+            conn.setDoInput(true);
+            conn.setRequestMethod("POST");
+            conn.setRequestProperty("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.6)");
+
+            conn.setRequestProperty("Content-Type","multipart/form-data; boundary=" + boundary);
+            OutputStream out = new DataOutputStream(conn.getOutputStream());
+            // 遍历读取表单Map中的数据,将数据写入到输出流中。
+            if (formFields != null) {
+                StringBuffer strBuf = new StringBuffer();
+                Iterator<Map.Entry<String, String>> iter = formFields.entrySet().iterator();
+                int i = 0;
+                while (iter.hasNext()) {
+                    Map.Entry<String, String> entry = iter.next();
+                    String inputName = entry.getKey();
+                    String inputValue = entry.getValue();
+                    if (inputValue == null) {
+                        continue;
+                    }
+                    if (i == 0) {
+                        strBuf.append("--").append(boundary).append("\r\n");
+                        strBuf.append("Content-Disposition: form-data; name=\""
+                                + inputName + "\"\r\n\r\n");
+                        strBuf.append(inputValue);
+                    } else {
+                        strBuf.append("\r\n").append("--").append(boundary).append("\r\n");
+                        strBuf.append("Content-Disposition: form-data; name=\""
+                                + inputName + "\"\r\n\r\n");
+                        strBuf.append(inputValue);
+                    }
+                    i++;
+                }
+                out.write(strBuf.toString().getBytes());
+            }
+            // 读取文件信息,将要上传的文件写入到输出流中。
+            File file = new File(localFile);
+            String filename = file.getName();
+            String contentType = new MimetypesFileTypeMap().getContentType(file);
+            if (contentType == null || contentType.equals("")) {
+                contentType = "application/octet-stream";
+            }
+            StringBuffer strBuf = new StringBuffer();
+            strBuf.append("\r\n").append("--").append(boundary)
+                    .append("\r\n");
+            strBuf.append("Content-Disposition: form-data; name=\"file\"; "
+                    + "filename=\"" + filename + "\"\r\n");
+            strBuf.append("Content-Type: " + contentType + "\r\n\r\n");
+            out.write(strBuf.toString().getBytes());
+            DataInputStream in = new DataInputStream(new FileInputStream(file));
+            int bytes = 0;
+            byte[] bufferOut = new byte[1024];
+            while ((bytes = in.read(bufferOut)) != -1) {
+                out.write(bufferOut, 0, bytes);
+            }
+            in.close();
+            byte[] endData = ("\r\n--" + boundary + "--\r\n").getBytes();
+            out.write(endData);
+            out.flush();
+            out.close();
+            // 读取返回数据。
+            strBuf = new StringBuffer();
+            BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
+
+            String line = null;
+            while ((line = reader.readLine()) != null) {
+                strBuf.append(line).append("\n");
+            }
+
+            res = strBuf.toString();
+            reader.close();
+            reader = null;
+        } catch (ClientException e) {
+            System.err.println(e.getErrorCode()+" msg="+e.getMessage());
+            throw e;
+        } finally {
+            if (conn != null) {
+                conn.disconnect();
+                conn = null;
+            }
+        }
+        return res;
+    }
+    private static void setCallBack(Map<String, String> formFields, Callback callback) {
+        if (callback != null) {
+            String jsonCb = OSSUtils.jsonizeCallback(callback);
+            String base64Cb = BinaryUtil.toBase64String(jsonCb.getBytes());
+            formFields.put("callback", base64Cb);
+            if (callback.hasCallbackVar()) {
+                Map<String, String> varMap = callback.getCallbackVar();
+                for (Map.Entry<String, String> entry : varMap.entrySet()) {
+                    formFields.put(entry.getKey(), entry.getValue());
+                }
+            }
+        }
+    }
+
+}

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminFastEntryPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-fast-entry")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminFieldPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-field")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminModuleFavoritesPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-module-favorites")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminModulePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-module")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminRolePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-role")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminUserModuleRelaPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-user-module-rela")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminUserPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-user")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminUserRoleRelaPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-user-role-rela")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminWebsitPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-websit")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminWebsitProductTypeRelaPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-websit-product-type-rela")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AdminWebsitSlavePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/admin-websit-slave")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/AreaPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/area")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/BrandLbsRelatePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/brand-lbs-relate")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/BrandPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/brand")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/BrandWebsitPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/brand-websit")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CityPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/city")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ComDetailLogPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/com-detail-log")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ComDetailPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/com-detail")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ComListPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/com-list")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CommonFilePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/common-file")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CompanyCaAuthPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/company-ca-auth")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CompanyRecordManagePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/company-record-manage")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ContractTemplatePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/contract-template")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CustomerInformationCategoryPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/customer-information-category")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CustomerInformationPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/customer-information")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/CustomerInformationWebsitPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/customer-information-websit")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ImgCarouselManagePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/img-carousel-manage")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InstallChargeConfigPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/install-charge-config")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureAgreePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-agree")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureEmailPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-email")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureEmailRecordPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-email-record")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsurePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureRangePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-range")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureWorkerCommercialFilePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-worker-commercial-file")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureWorkerCommercialPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-worker-commercial")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/InsureWorkerRecordPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/insure-worker-record")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralDoublePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-double")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralGradeConfigurePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-grade-configure")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralGradeExplainPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-grade-explain")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralGradeSkillPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-grade-skill")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralOffsetPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-offset")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralScorePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-score")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralSkillLabelPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-skill-label")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/IntegralWorkerApplyPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/integral-worker-apply")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignGzdmDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-assign-gzdm-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXqxlDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-assign-xqxl-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXxlbDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-assign-xxlb-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXxlyDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-assign-xxly-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignXxqdDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-assign-xxqd-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAssignYhsxWxDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-assign-yhsx-wx-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblAzAssignXslxDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-az-assign-xslx-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblCityDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-city-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblCityJdxzDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-city-jdxz-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblCountyDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-county-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblProvinceDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-province-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbDaleiDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-splb-dalei-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbJixinDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-splb-jixin-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbXiaoleiDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-splb-xiaolei-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblSplbXilieDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-splb-xilie-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblWangdianWxgDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-wangdian-wxg-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblXinWangdianDownloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-xin-wangdian-download")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ItfTblYhsxViprankDowloadPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/itf-tbl-yhsx-viprank-dowload")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/LabelCurrencyPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/label-currency")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/LabelPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/label")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/LbsAmapPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/lbs-amap")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/NoticePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/notice")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/NoticeRecordPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/notice-record")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/OperationLogPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/operation-log")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ProductPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/product")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ProductSeriesPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/product-series")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ProvincePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/province")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/QualificationsManagePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/qualifications-manage")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/RepairBugPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/repair-bug")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/RepairProjectPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/repair-project")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/SmsRecordPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/sms-record")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/StreetPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/street")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/SysDictPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/sys-dict")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/SysDictRefPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/sys-dict-ref")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/SysDictTypePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/sys-dict-type")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/ToolPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/tool")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/UserFeedbackPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/user-feedback")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/UserPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/user")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitEnclosureFilePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/websit-enclosure-file")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitExamineRecordPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/websit-examine-record")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitFilePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/websit-file")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitMainInfoChangeDataPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/websit-main-info-change-data")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitMainInfoChangePlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/websit-main-info-change")

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/plus/controller/WebsitOrderSignPlusTempController.java

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Controller;
  * </p>
  *
  * @author gejiang
- * @since 2023-02-01
+ * @since 2023-02-08
  */
 @Controller
 @RequestMapping("/plus/websit-order-sign")

Some files were not shown because too many files changed in this diff