package com.cirle.scientific.utils.weixin;

public class WeixinpayConfig {

	//微信证书路径
	public static String certPath = "/data/wx_p12/apiclient_cert.p12";
	//微信服务号- AppID(应用ID)
	public static String appId = "wxa35f548647a3fa20";
	//微信服务号-AppSecret(应用密钥)
	public static String appSecret = "f50eef04e2f7070b0b6ec508336787a1";

	public static String mini_appId = "wx010438d12a4b1d6f";
	//微信服务号-AppSecret(应用密钥)
	public static String mini_appSecret = "d378a09e95f16a03135d00a9f9c46992";

	//微信服务号-商户平台-商户号
	public static String mchId="1608897217";
	//微信服务号-商户平台-公众号支付请求中用于加密的密钥Key，可验证商户唯一身份
	public static String apiKey = "Quank2022PaySecretQuankPaySecret";

	//微信开放平台-网站应用-AppID(应用ID)
	//public static String pc_appId = "wx7b6c262406803c47";
	//微信开放平台-网站应用-AppSecret(应用密钥)
	//public static String pc_appSecret = "ee8f205981d2c8ca5f6a0c36dc0ebda6";

	//支付成功回调路径
	public static String notifyUrl = "https://www.qkyxzx.com/paycallback/weixin";
//	public static String notifyUrl = "https://test.qkyxzx.com/paycallback/weixin";

//	public static String refundNotifyUrl = "https://www.qkyxzx.com/paycallback/weixinrefund";
	public static String refundNotifyUrl = "https://test.qkyxzx.com/paycallback/weixinrefund";

	//通过code获取access_token
	public static String accessTokenUrlBycode = "https://api.weixin.qq.com/sns/oauth2/access_token";

	//获取公众号的全局唯一票据access_token，分享用到的
	public static String accessTokenUrlBykey = "https://api.weixin.qq.com/cgi-bin/token";

	//获取公众号用于调用微信JS接口的临时票据jsapi_ticket
	public static String getTicketUrl = "https://api.weixin.qq.com/cgi-bin/ticket/getticket";

	//企业付款
	public static String transfersUrl = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";

	/**
	 * 微信扫码授权
	 */
	public final static String OPEN_OAUTH_URL= "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";

	public static String  getPhone="https://api.weixin.qq.com/wxa/business/getuserphonenumber";
}
