@@ -33,7 +33,7 @@ public interface WxCpService {
3333 * @param data 微信传输过来的数据,有可能是echoStr,有可能是xml消息
3434 * @return
3535 */
36- public boolean checkSignature (String msgSignature , String timestamp , String nonce , String data );
36+ boolean checkSignature (String msgSignature , String timestamp , String nonce , String data );
3737
3838 /**
3939 * <pre>
@@ -43,15 +43,15 @@ public interface WxCpService {
4343 *
4444 * @param userId
4545 */
46- public void userAuthenticated (String userId ) throws WxErrorException ;
46+ void userAuthenticated (String userId ) throws WxErrorException ;
4747
4848 /**
4949 * 获取access_token, 不强制刷新access_token
5050 * @see #getAccessToken(boolean)
5151 * @return
5252 * @throws WxErrorException
5353 */
54- public String getAccessToken () throws WxErrorException ;
54+ String getAccessToken () throws WxErrorException ;
5555
5656 /**
5757 * <pre>
@@ -65,7 +65,7 @@ public interface WxCpService {
6565 * @return
6666 * @throws me.chanjar.weixin.common.exception.WxErrorException
6767 */
68- public String getAccessToken (boolean forceRefresh ) throws WxErrorException ;
68+ String getAccessToken (boolean forceRefresh ) throws WxErrorException ;
6969
7070 /**
7171 * <pre>
@@ -83,7 +83,7 @@ public interface WxCpService {
8383 * @param inputStream 输入流
8484 * @throws WxErrorException
8585 */
86- public WxMediaUploadResult mediaUpload (String mediaType , String fileType , InputStream inputStream )
86+ WxMediaUploadResult mediaUpload (String mediaType , String fileType , InputStream inputStream )
8787 throws WxErrorException , IOException ;
8888
8989 /**
@@ -92,7 +92,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
9292 * @throws WxErrorException
9393 * @see #mediaUpload(String, String, InputStream)
9494 */
95- public WxMediaUploadResult mediaUpload (String mediaType , File file ) throws WxErrorException ;
95+ WxMediaUploadResult mediaUpload (String mediaType , File file ) throws WxErrorException ;
9696
9797 /**
9898 * <pre>
@@ -105,7 +105,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
105105 * @throws WxErrorException
106106 * @params media_id
107107 */
108- public File mediaDownload (String media_id ) throws WxErrorException ;
108+ File mediaDownload (String media_id ) throws WxErrorException ;
109109
110110 /**
111111 * <pre>
@@ -116,7 +116,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
116116 * @param message
117117 * @throws WxErrorException
118118 */
119- public void messageSend (WxCpMessage message ) throws WxErrorException ;
119+ void messageSend (WxCpMessage message ) throws WxErrorException ;
120120
121121 /**
122122 * <pre>
@@ -127,7 +127,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
127127 * @param menu
128128 * @throws WxErrorException
129129 */
130- public void menuCreate (WxMenu menu ) throws WxErrorException ;
130+ void menuCreate (WxMenu menu ) throws WxErrorException ;
131131
132132 /**
133133 * <pre>
@@ -137,7 +137,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
137137 *
138138 * @throws WxErrorException
139139 */
140- public void menuDelete () throws WxErrorException ;
140+ void menuDelete () throws WxErrorException ;
141141
142142 /**
143143 * <pre>
@@ -148,7 +148,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
148148 * @return
149149 * @throws WxErrorException
150150 */
151- public WxMenu menuGet () throws WxErrorException ;
151+ WxMenu menuGet () throws WxErrorException ;
152152
153153 /**
154154 * <pre>
@@ -161,7 +161,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
161161 * @return 部门id
162162 * @throws WxErrorException
163163 */
164- public Integer departCreate (WxCpDepart depart ) throws WxErrorException ;
164+ Integer departCreate (WxCpDepart depart ) throws WxErrorException ;
165165
166166 /**
167167 * <pre>
@@ -172,7 +172,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
172172 * @return
173173 * @throws WxErrorException
174174 */
175- public List <WxCpDepart > departGet () throws WxErrorException ;
175+ List <WxCpDepart > departGet () throws WxErrorException ;
176176
177177 /**
178178 * <pre>
@@ -184,7 +184,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
184184 * @param group 要更新的group,group的id,name必须设置
185185 * @throws WxErrorException
186186 */
187- public void departUpdate (WxCpDepart group ) throws WxErrorException ;
187+ void departUpdate (WxCpDepart group ) throws WxErrorException ;
188188
189189 /**
190190 * <pre>
@@ -194,7 +194,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
194194 * @param departId
195195 * @throws WxErrorException
196196 */
197- public void departDelete (Integer departId ) throws WxErrorException ;
197+ void departDelete (Integer departId ) throws WxErrorException ;
198198
199199 /**
200200 * http://qydev.weixin.qq.com/wiki/index.php?title=管理成员#.E8.8E.B7.E5.8F.96.E9.83.A8.E9.97.A8.E6.88.90.E5.91.98
@@ -205,31 +205,31 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
205205 * @return
206206 * @throws WxErrorException
207207 */
208- public List <WxCpUser > departGetUsers (Integer departId , Boolean fetchChild , Integer status ) throws WxErrorException ;
208+ List <WxCpUser > departGetUsers (Integer departId , Boolean fetchChild , Integer status ) throws WxErrorException ;
209209
210210 /**
211211 * 新建用户
212212 *
213213 * @param user
214214 * @throws WxErrorException
215215 */
216- public void userCreate (WxCpUser user ) throws WxErrorException ;
216+ void userCreate (WxCpUser user ) throws WxErrorException ;
217217
218218 /**
219219 * 更新用户
220220 *
221221 * @param user
222222 * @throws WxErrorException
223223 */
224- public void userUpdate (WxCpUser user ) throws WxErrorException ;
224+ void userUpdate (WxCpUser user ) throws WxErrorException ;
225225
226226 /**
227227 * 删除用户
228228 *
229229 * @param userid
230230 * @throws WxErrorException
231231 */
232- public void userDelete (String userid ) throws WxErrorException ;
232+ void userDelete (String userid ) throws WxErrorException ;
233233
234234 /**
235235 * 获取用户
@@ -238,53 +238,53 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
238238 * @return
239239 * @throws WxErrorException
240240 */
241- public WxCpUser userGet (String userid ) throws WxErrorException ;
241+ WxCpUser userGet (String userid ) throws WxErrorException ;
242242
243243 /**
244244 * 创建标签
245245 *
246246 * @param tagName
247247 * @return
248248 */
249- public String tagCreate (String tagName ) throws WxErrorException ;
249+ String tagCreate (String tagName ) throws WxErrorException ;
250250
251251 /**
252252 * 更新标签
253253 *
254254 * @param tagId
255255 * @param tagName
256256 */
257- public void tagUpdate (String tagId , String tagName ) throws WxErrorException ;
257+ void tagUpdate (String tagId , String tagName ) throws WxErrorException ;
258258
259259 /**
260260 * 删除标签
261261 *
262262 * @param tagId
263263 */
264- public void tagDelete (String tagId ) throws WxErrorException ;
264+ void tagDelete (String tagId ) throws WxErrorException ;
265265
266266 /**
267267 * 获得标签列表
268268 *
269269 * @return
270270 */
271- public List <WxCpTag > tagGet () throws WxErrorException ;
271+ List <WxCpTag > tagGet () throws WxErrorException ;
272272
273273 /**
274274 * 获取标签成员
275275 *
276276 * @param tagId
277277 * @return
278278 */
279- public List <WxCpUser > tagGetUsers (String tagId ) throws WxErrorException ;
279+ List <WxCpUser > tagGetUsers (String tagId ) throws WxErrorException ;
280280
281281 /**
282282 * 增加标签成员
283283 *
284284 * @param tagId
285285 * @param userIds
286286 */
287- public void tagAddUsers (String tagId , List <String > userIds ) throws WxErrorException ;
287+ void tagAddUsers (String tagId , List <String > userIds ) throws WxErrorException ;
288288
289289 /**
290290 * <pre>
@@ -294,7 +294,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
294294 * @param state
295295 * @return code
296296 */
297- public String oauth2buildAuthorizationUrl (String state );
297+ String oauth2buildAuthorizationUrl (String state );
298298
299299 /**
300300 * <pre>
@@ -305,15 +305,15 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
305305 * @param code
306306 * @return [userid, deviceid]
307307 */
308- public String [] oauth2getUserInfo (String code ) throws WxErrorException ;
308+ String [] oauth2getUserInfo (String code ) throws WxErrorException ;
309309
310310 /**
311311 * 移除标签成员
312312 *
313313 * @param tagId
314314 * @param userIds
315315 */
316- public void tagRemoveUsers (String tagId , List <String > userIds ) throws WxErrorException ;
316+ void tagRemoveUsers (String tagId , List <String > userIds ) throws WxErrorException ;
317317
318318 /**
319319 * <pre>
@@ -325,7 +325,7 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
325325 * @return 1:微信邀请 2.邮件邀请
326326 * @throws WxErrorException
327327 */
328- public int invite (String userId , String inviteTips ) throws WxErrorException ;
328+ int invite (String userId , String inviteTips ) throws WxErrorException ;
329329
330330 /**
331331 * <pre>
@@ -369,14 +369,14 @@ public WxMediaUploadResult mediaUpload(String mediaType, String fileType, InputS
369369 * @return
370370 * @throws WxErrorException
371371 */
372- public <T , E > T execute (RequestExecutor <T , E > executor , String uri , E data ) throws WxErrorException ;
372+ <T , E > T execute (RequestExecutor <T , E > executor , String uri , E data ) throws WxErrorException ;
373373
374374 /**
375375 * 注入 {@link WxCpConfigStorage} 的实现
376376 *
377377 * @param wxConfigProvider
378378 */
379- public void setWxCpConfigStorage (WxCpConfigStorage wxConfigProvider );
379+ void setWxCpConfigStorage (WxCpConfigStorage wxConfigProvider );
380380
381381 /**
382382 * <pre>
0 commit comments