Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
修改WxCpMessage中agentId的数据类型, String-> Integer
  • Loading branch information
cty committed Nov 18, 2016
commit 6d01fa5210abc5dd8f44c03a6bbdfafa202347de
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ test-config.xml
/gradle/
*.bat
/gradlew
**/build/

# OSX
# Icon must end with two \r
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public interface WxCpConfigStorage {

String getCorpSecret();

String getAgentId();
Integer getAgentId();

String getToken();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class WxCpInMemoryConfigStorage implements WxCpConfigStorage {
protected volatile String token;
protected volatile String accessToken;
protected volatile String aesKey;
protected volatile String agentId;
protected volatile Integer agentId;
protected volatile long expiresTime;

protected volatile String oauth2redirectUri;
Expand Down Expand Up @@ -146,11 +146,11 @@ public void setAesKey(String aesKey) {
}

@Override
public String getAgentId() {
public Integer getAgentId() {
return this.agentId;
}

public void setAgentId(String agentId) {
public void setAgentId(Integer agentId) {
this.agentId = agentId;
}

Expand Down
Loading