xiangpei
2025-06-12 10b9fccb1908fb60a30a54f584d1b96ac22a2e4e
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
55
56
57
58
package cn.lili.modules.payment.kit.plugin.wechat.enums;
 
/**
 * 微信支付域名
 *
 * @author Chopper
 * @since 2020/12/17 17:44
 */
public enum WechatDomain {
    /**
     * 中国国内
     */
    CHINA("https://api.mch.weixin.qq.com"),
    /**
     * 中国国内(备用域名)
     */
    CHINA2("https://api2.mch.weixin.qq.com"),
    /**
     * 东南亚
     */
    HK("https://apihk.mch.weixin.qq.com"),
    /**
     * 其它
     */
    US("https://apius.mch.weixin.qq.com"),
    /**
     * 获取公钥
     */
    FRAUD("https://fraud.mch.weixin.qq.com"),
    /**
     * 活动
     */
    ACTION("https://action.weixin.qq.com"),
    /**
     * 刷脸支付
     * PAY_APP
     */
    PAY_APP("https://payapp.weixin.qq.com");
 
 
    /**
     * 域名
     */
    private final String domain;
 
    WechatDomain(String domain) {
        this.domain = domain;
    }
 
    public String getType() {
        return domain;
    }
 
    @Override
    public String toString() {
        return domain;
    }
}