All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mizhousoft.boot.weixin.properties.WeixinOpenProperties Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.mizhousoft.boot.weixin.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置
 *
 * @version
 */
@Component
@ConfigurationProperties(prefix = "weixin.open")
public class WeixinOpenProperties
{
	/**
	 * 应用ID
	 */
	private volatile String appId;

	/**
	 * 应用密钥
	 */
	private volatile String appSecret;

	/**
	 * 获取appId
	 * 
	 * @return
	 */
	public String getAppId()
	{
		return appId;
	}

	/**
	 * 设置appId
	 * 
	 * @param appId
	 */
	public void setAppId(String appId)
	{
		this.appId = appId;
	}

	/**
	 * 获取appSecret
	 * 
	 * @return
	 */
	public String getAppSecret()
	{
		return appSecret;
	}

	/**
	 * 设置appSecret
	 * 
	 * @param appSecret
	 */
	public void setAppSecret(String appSecret)
	{
		this.appSecret = appSecret;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy