审计记录

src/org/theyeasy/weixin/model/WxOpenConfig.java 1.2 KB
zxt@theyeasy.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
package org.theyeasy.weixin.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 
 * @author Binary Wang
 * 
 */
@Configuration
public class WxOpenConfig {
	@Value("#{wxProperties.wx_open_token}")
	private String token;

	@Value("#{wxProperties.wx_open_appid}")
	private String appId;

	@Value("#{wxProperties.wx_oepn_appsecret}")
	private String appSecret;

	@Value("#{wxProperties.wx_open_aeskey}")
	private String aesKey;

	@Value("#{wxProperties.wx_open_redirect_uri}")
	private String redirectUri;
	
	@Value("#{wxProperties.wx_open_verify_ticket}")
	private String verifyTicket;

	
	public String getVerifyTicket() {
		return verifyTicket;
	}

	public String getToken() {
		return this.token;
	}

	public String getAppId() {
		return appId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public String getRedirectUri() {
		return redirectUri;
	}

	public String getAesKey() {
		return this.aesKey;
	}

	@Override
	public String toString() {
		return "WxOpenConfig [token=" + token + ", appId=" + appId
				+ ", appSecret=" + appSecret + ", aesKey=" + aesKey
				+ ", redirectUri=" + redirectUri + ", verifyTicket="
				+ verifyTicket + "]";
	}

	
	

}