src/main/java/io/github/biezhi/wechat/api/WeChatApiImpl.java
private String getUUID() {
        log.info("获取二维码UUID");
        // 登录
        ApiResponse response = this.client.send(new StringRequest("https://login.weixin.qq.com/jslogin")
                .add("appid", "wx782c26e4c19acffb").add("fun", "new"));

        Matcher matcher = UUID_PATTERN.matcher(response.getRawBody());
        if (matcher.find() && StateCode.SUCCESS.equals(matcher.group(1))) {
            this.uuid = matcher.group(2);
        }
        return this.uuid;
    }
private String getUUID() {
        log.info("获取二维码UUID");
        // 登录
        ApiResponse response = this.client.send(new StringRequest("https://login.weixin.qq.com/jslogin")
                .add("appid", "wx782c26e4c19acffb").add("fun", "new"));

        Matcher matcher = UUID_PATTERN.matcher(response.getRawBody());
        if (matcher.find() && StateCode.SUCCESS.equals(matcher.group(1))) {
            this.uuid = matcher.group(2);
        }
        return this.uuid;
    }
private String getUUID ( ) { log . info ( "获取二维码UUID"); // 登录 ApiResponse response = this . client . send ( new StringRequest ( "https://login.weixin.qq.com/jslogin" ) . add ( "appid" , "wx782c26e4c19acffb" ) . add ( "fun" , "new" ) ) ; Matcher matcher = UUID_PATTERN . matcher ( response . getRawBody ( ) ) ; if ( matcher . find ( ) && StateCode . SUCCESS . equals ( matcher . group ( 1 ) ) ) { this . uuid = matcher . group ( 2 ) ; } return this . uuid ; }
获取UUID

@return 返回uuid
获取UUID