You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RuoYi-flowable-bak/ruoyi-common/src/main/java/com/ruoyi/common/enums/CjtAccountEnum.java

52 lines
1.5 KiB

package com.ruoyi.common.enums;
/**
*
*
* @author ruoyi
*/
public enum CjtAccountEnum {
/**
*
*/
ONE("ONE", "wwjSb5Vl","C661F71361CC4C5636396480FF08BBA4","OXYwHSWAc22UPHxfIUM0SSFZwziCLmBfOzBaN+PCNp0SNfV3ewYIaWLJCCrYToCU46x3PJO8t4TXV57bGpbiqClld5DiAkQ3EX1qqxoyaE9J0HAsfnp/PkPurKMQewBHICM2oEPRyLU5GUQjTCucfLvO4xT3DKlelbjBsIkKLqs="),
TWO("TWO","mlSYoz8p","4B4A5200B30582550B0C19588077DEA2", "OXYwHSWAc22UPHxfIUM0SYKsxx7LyeY+gbiKQ2ZOToVvqtVaDH1Gf20Sqnke7VLddaQ+Ee3NsaLQUB4qf9Q9tquh/DxDywljHbo9v0hwkP8jA3rePKJmErxoUZcaBxbBZXn1EA476VvdMZgFgyMAzmu0EOVp5F18J43hxDTWxeMiVzjYDoeDexJlKgyPf6oL");
private final String code;
private final String appKey;
private final String appSecret;
private final String certificate;
CjtAccountEnum(String code, String appKey, String appSecret, String certificate) {
this.code = code;
this.appKey = appKey;
this.appSecret = appSecret;
this.certificate = certificate;
}
public String getCode() {
return code;
}
public String getAppKey() {
return appKey;
}
public String getAppSecret() {
return appSecret;
}
public String getCertificate() {
return certificate;
}
public static CjtAccountEnum getByCode(String code){
for (CjtAccountEnum value : CjtAccountEnum.values()) {
if (value.getCode().equals(code)){
return value;
}
}
return null;
}
}