Skip to content

Commit a90628c

Browse files
committed
调整企业号config相关类的包位置
1 parent 899d037 commit a90628c

File tree

3 files changed

+567
-567
lines changed

3 files changed

+567
-567
lines changed
Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
1-
package me.chanjar.weixin.cp.api;
2-
3-
import me.chanjar.weixin.common.bean.WxAccessToken;
4-
import me.chanjar.weixin.common.util.http.apache.ApacheHttpClientBuilder;
5-
6-
import java.io.File;
7-
8-
/**
9-
* 微信客户端配置存储
10-
*
11-
* @author Daniel Qian
12-
*/
13-
public interface WxCpConfigStorage {
14-
15-
String getAccessToken();
16-
17-
boolean isAccessTokenExpired();
18-
19-
/**
20-
* 强制将access token过期掉
21-
*/
22-
void expireAccessToken();
23-
24-
void updateAccessToken(WxAccessToken accessToken);
25-
26-
void updateAccessToken(String accessToken, int expiresIn);
27-
28-
String getJsapiTicket();
29-
30-
boolean isJsapiTicketExpired();
31-
32-
/**
33-
* 强制将jsapi ticket过期掉
34-
*/
35-
void expireJsapiTicket();
36-
37-
/**
38-
* 应该是线程安全的
39-
*
40-
* @param jsapiTicket
41-
*/
42-
void updateJsapiTicket(String jsapiTicket, int expiresInSeconds);
43-
44-
String getCorpId();
45-
46-
String getCorpSecret();
47-
48-
Integer getAgentId();
49-
50-
String getToken();
51-
52-
String getAesKey();
53-
54-
long getExpiresTime();
55-
56-
String getOauth2redirectUri();
57-
58-
String getHttpProxyHost();
59-
60-
int getHttpProxyPort();
61-
62-
String getHttpProxyUsername();
63-
64-
String getHttpProxyPassword();
65-
66-
File getTmpDirFile();
67-
68-
/**
69-
* http client builder
70-
*
71-
* @return ApacheHttpClientBuilder
72-
*/
73-
ApacheHttpClientBuilder getApacheHttpClientBuilder();
74-
}
1+
package me.chanjar.weixin.cp.config;
2+
3+
import me.chanjar.weixin.common.bean.WxAccessToken;
4+
import me.chanjar.weixin.common.util.http.apache.ApacheHttpClientBuilder;
5+
6+
import java.io.File;
7+
8+
/**
9+
* 微信客户端配置存储
10+
*
11+
* @author Daniel Qian
12+
*/
13+
public interface WxCpConfigStorage {
14+
15+
String getAccessToken();
16+
17+
boolean isAccessTokenExpired();
18+
19+
/**
20+
* 强制将access token过期掉
21+
*/
22+
void expireAccessToken();
23+
24+
void updateAccessToken(WxAccessToken accessToken);
25+
26+
void updateAccessToken(String accessToken, int expiresIn);
27+
28+
String getJsapiTicket();
29+
30+
boolean isJsapiTicketExpired();
31+
32+
/**
33+
* 强制将jsapi ticket过期掉
34+
*/
35+
void expireJsapiTicket();
36+
37+
/**
38+
* 应该是线程安全的
39+
*
40+
* @param jsapiTicket
41+
*/
42+
void updateJsapiTicket(String jsapiTicket, int expiresInSeconds);
43+
44+
String getCorpId();
45+
46+
String getCorpSecret();
47+
48+
Integer getAgentId();
49+
50+
String getToken();
51+
52+
String getAesKey();
53+
54+
long getExpiresTime();
55+
56+
String getOauth2redirectUri();
57+
58+
String getHttpProxyHost();
59+
60+
int getHttpProxyPort();
61+
62+
String getHttpProxyUsername();
63+
64+
String getHttpProxyPassword();
65+
66+
File getTmpDirFile();
67+
68+
/**
69+
* http client builder
70+
*
71+
* @return ApacheHttpClientBuilder
72+
*/
73+
ApacheHttpClientBuilder getApacheHttpClientBuilder();
74+
}

0 commit comments

Comments
 (0)