6 changed files with 76 additions and 29 deletions
@ -0,0 +1,49 @@ |
|||
package com.zdxt.knowledge.domain; |
|||
|
|||
import org.springframework.boot.context.properties.ConfigurationProperties; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
@Component |
|||
@ConfigurationProperties(prefix = "wechat.config") |
|||
public class WechatProperties { |
|||
|
|||
private String appId; |
|||
|
|||
private String secret; |
|||
|
|||
private String grantType; |
|||
|
|||
private String requestUrl; |
|||
|
|||
public String getAppId() { |
|||
return appId; |
|||
} |
|||
|
|||
public void setAppId(String appId) { |
|||
this.appId = appId; |
|||
} |
|||
|
|||
public String getSecret() { |
|||
return secret; |
|||
} |
|||
|
|||
public void setSecret(String secret) { |
|||
this.secret = secret; |
|||
} |
|||
|
|||
public String getGrantType() { |
|||
return grantType; |
|||
} |
|||
|
|||
public void setGrantType(String grantType) { |
|||
this.grantType = grantType; |
|||
} |
|||
|
|||
public String getRequestUrl() { |
|||
return requestUrl; |
|||
} |
|||
|
|||
public void setRequestUrl(String requestUrl) { |
|||
this.requestUrl = requestUrl; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue