package com.panzhihua.common.constants;
|
|
/**
|
* 微信支付通用常量
|
*
|
* @author LYQ
|
*/
|
public class PayCpmstant {
|
|
/**
|
* 微信支付统一下单url地址
|
*/
|
public static final String UNIFIEDORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
|
/**
|
* 微信支付默认编码格式
|
*/
|
public static final String DEFAULT_ENCODING = "UTF-8";
|
/**
|
* 微信支付返回支付成功CODE
|
*/
|
public static final String RETURN_CODE = "SUCCESS";
|
/**
|
* 微信支付返回支付成功MSG
|
*/
|
public static final String RETURN_MSG = "OK";
|
/**
|
* 微信支付默认加密格式
|
*/
|
public static final String SIGN_TYPE = "MD5";
|
|
/**
|
* 电动车商城购买商品支付回调地址
|
*/
|
public static final String BATTERY_STORE_PAY_NOTIFY_URL = "/api/huacheng-applets/wx/batteryPayNotify";
|
/**
|
* 电动车商城活动订单支付回调地址
|
*/
|
public static final String BATTERY_STORE_ACTIVITY_PAY_NOTIFY_URL = "/api/huacheng-applets/wx/batteryActivityPayNotify";
|
|
public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
|
|
/**
|
* 微信支付返回支付成功的参数名字
|
*/
|
public static final String RETURN_CODE_CODE = "return_code";
|
/**
|
* 微信退款接口返回成功的参数名称
|
*/
|
public static final String RESULT_CODE_CODE = "result_code";
|
/**
|
* 微信退款接口请求key
|
*/
|
public static final String REFUND_KEY= "8A9H1B2234D7CBD0AC61B75EB274927F";
|
}
|