mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
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";
}