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;
|
}
|
}
|