@@ -76,24 +76,25 @@ public File createWxaCode(String path) throws WxErrorException {
76
76
}
77
77
78
78
@ Override
79
- public byte [] createWxaCodeUnlimitBytes (String scene , String page , String envVersion , int width , boolean autoColor ,
79
+ public byte [] createWxaCodeUnlimitBytes (String scene , String page , boolean checkPath , String envVersion , int width , boolean autoColor ,
80
80
WxMaCodeLineColor lineColor , boolean isHyaline ) throws WxErrorException {
81
81
return this .service .execute (QrcodeBytesRequestExecutor .create (this .service .getRequestHttp ()),
82
- GET_WXACODE_UNLIMIT_URL , this .buildWxaCodeUnlimit (scene , page , envVersion , width , autoColor , lineColor , isHyaline ));
82
+ GET_WXACODE_UNLIMIT_URL , this .buildWxaCodeUnlimit (scene , page , checkPath , envVersion , width , autoColor , lineColor , isHyaline ));
83
83
}
84
84
85
85
@ Override
86
- public File createWxaCodeUnlimit (String scene , String page , String envVersion , int width , boolean autoColor ,
86
+ public File createWxaCodeUnlimit (String scene , String page , boolean checkPath , String envVersion , int width , boolean autoColor ,
87
87
WxMaCodeLineColor lineColor , boolean isHyaline ) throws WxErrorException {
88
88
return this .service .execute (QrcodeRequestExecutor .create (this .service .getRequestHttp ()),
89
- GET_WXACODE_UNLIMIT_URL , this .buildWxaCodeUnlimit (scene , page , envVersion , width , autoColor , lineColor , isHyaline ));
89
+ GET_WXACODE_UNLIMIT_URL , this .buildWxaCodeUnlimit (scene , page , checkPath , envVersion , width , autoColor , lineColor , isHyaline ));
90
90
}
91
91
92
- private WxaCodeUnlimit buildWxaCodeUnlimit (String scene , String page , String envVersion , int width , boolean autoColor ,
92
+ private WxaCodeUnlimit buildWxaCodeUnlimit (String scene , String page , boolean checkPath , String envVersion , int width , boolean autoColor ,
93
93
WxMaCodeLineColor lineColor , boolean isHyaline ) {
94
94
WxaCodeUnlimit wxaCodeUnlimit = new WxaCodeUnlimit ();
95
95
wxaCodeUnlimit .setScene (scene );
96
96
wxaCodeUnlimit .setPage (page );
97
+ wxaCodeUnlimit .setCheckPath (checkPath );
97
98
wxaCodeUnlimit .setEnvVersion (envVersion );
98
99
wxaCodeUnlimit .setWidth (width );
99
100
wxaCodeUnlimit .setAutoColor (autoColor );
@@ -105,7 +106,7 @@ private WxaCodeUnlimit buildWxaCodeUnlimit(String scene, String page, String env
105
106
106
107
@ Override
107
108
public File createWxaCodeUnlimit (String scene , String page ) throws WxErrorException {
108
- return this .createWxaCodeUnlimit (scene , page , "release" , 430 , true , null , false );
109
+ return this .createWxaCodeUnlimit (scene , page , true , "release" , 430 , true , null , false );
109
110
}
110
111
111
112
@ Override
@@ -144,15 +145,15 @@ public File createWxaCode(String path, String filePath) throws WxErrorException
144
145
}
145
146
146
147
@ Override
147
- public File createWxaCodeUnlimit (String scene , String page , String filePath , String envVersion , int width , boolean autoColor ,
148
+ public File createWxaCodeUnlimit (String scene , String page , String filePath , boolean checkPath , String envVersion , int width , boolean autoColor ,
148
149
WxMaCodeLineColor lineColor , boolean isHyaline ) throws WxErrorException {
149
150
return this .service .execute (QrcodeRequestExecutor .create (this .service .getRequestHttp (), filePath ),
150
- GET_WXACODE_UNLIMIT_URL , this .buildWxaCodeUnlimit (scene , page , envVersion , width , autoColor , lineColor , isHyaline ));
151
+ GET_WXACODE_UNLIMIT_URL , this .buildWxaCodeUnlimit (scene , page , checkPath , envVersion , width , autoColor , lineColor , isHyaline ));
151
152
}
152
153
153
154
@ Override
154
155
public File createWxaCodeUnlimit (String scene , String page , String filePath ) throws WxErrorException {
155
- return this .createWxaCodeUnlimit (scene , page , filePath , "release" , 430 , true , null , false );
156
+ return this .createWxaCodeUnlimit (scene , page , filePath , true , "release" , 430 , true , null , false );
156
157
}
157
158
158
159
}
0 commit comments