/**
 * 
 */
package com.sqsoft.mars.qyweixin.client.cgibin.message;

import com.sqsoft.mars.qyweixin.client.QyweixinDefaultClient;

/**
 * @author lenovo
 *
 */
public class QyweixinMessageClient extends QyweixinDefaultClient {

	/**
	 * 
	 */
	private String access_token;
	
	/**
	 * 
	 * @param access_token
	 */
	public QyweixinMessageClient(String access_token) {
		super();
		this.access_token = access_token;
	}



	/* (non-Javadoc)
	 * @see com.sqsoft.mars.qyweixin.client.DefaultQyweixinClient#getUrl()
	 */
	@Override
	protected String getUrl() {
		return "https://qyapi.weixin.qq.com/cgi-bin/message/{method}?access_token=" + access_token;
	}

}
