Browse Source

update
1.华农修改

wks 8 months ago
parent
commit
db59ca495e

+ 1 - 0
tenant/insurance/quotation-huanong/src/main/java/com/jzg/quotation/huanong/crawler/entity/request/HuaNongCrawlerLoginRequestRequest.java

@@ -54,6 +54,7 @@ public class HuaNongCrawlerLoginRequestRequest implements HuaNongHeadRequest {
 
     public HuaNongCrawlerLoginRequestRequest(String username, String password, String captchaKey, String captcha) {
         this.head = new HuaNongCrawlerRequestBaseHead("");
+        this.head.setAnonymousId("19b59f6f0ca54c.0dd27d27d27d28.6a5b4b62.2073600.19b59f6f0cb18bc");
         this.userCode = username;
         this.type = "1";
         this.captchaKey = captchaKey;

+ 3 - 0
tenant/insurance/quotation-huanong/src/main/java/com/jzg/quotation/huanong/crawler/entity/request/HuaNongCrawlerRequestBaseHead.java

@@ -37,6 +37,9 @@ public class HuaNongCrawlerRequestBaseHead implements Serializable {
     @JsonProperty("sign")
     private String sign;
 
+    @JsonProperty("anonymousId")
+    private String anonymousId;
+
     public HuaNongCrawlerRequestBaseHead(String token) {
         this.transType = "Req";
         this.token = token;