admin
2025-05-09 6159dc58f50d3e4680779b7989bbd4d49a76bad5
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
package com.taoke.autopay.utils.order;
 
import com.taoke.autopay.entity.OrderChannelEnum;
 
/**
 * @author hxh
 * @title: OrderChannelUtil
 * @description:
 * @date 2024/7/31 0:20
 */
public class OrderChannelUtil {
    public final static String CYX_API_KEY = "sTIFFTyunIFZfp5i4V6g19PN9biudl4v";
    public final static String BPS_API_KEY = "cdaef330f1324961a73e15a85ab67fd2";
 
 
    public static OrderChannelEnum getChannelByKey(String key) {
 
        for (OrderChannelEnum channel : OrderChannelEnum.values()) {
            if (channel.getKey().equalsIgnoreCase(key)) {
                return channel;
            }
        }
        return null;
    }
}