配置迁移到数据库表里
This commit is contained in:
@@ -100,21 +100,21 @@ public class LbThirdIntegrationConfig implements Serializable {
|
||||
@Schema(description = "Admin 鉴权类型")
|
||||
private String authType;
|
||||
|
||||
@TableField("cookie_cipher")
|
||||
@Schema(description = "完整 Cookie 密文(存储字段,接口不回显)")
|
||||
private byte[] cookieCipher;
|
||||
@TableField("cookie")
|
||||
@Schema(description = "完整 Cookie 明文")
|
||||
private String cookie;
|
||||
|
||||
@TableField("phpsid_cipher")
|
||||
@Schema(description = "PHPSID 密文(存储字段,接口不回显)")
|
||||
private byte[] phpsidCipher;
|
||||
@TableField("phpsid")
|
||||
@Schema(description = "PHPSID 明文")
|
||||
private String phpsid;
|
||||
|
||||
@TableField("goods_api_token_cipher")
|
||||
@Schema(description = "货品/抢购 token 密文(存储字段,接口不回显)")
|
||||
private byte[] goodsApiTokenCipher;
|
||||
@TableField("goods_api_token")
|
||||
@Schema(description = "货品/抢购 token 明文")
|
||||
private String goodsApiToken;
|
||||
|
||||
@TableField("goods_api_app_str_cipher")
|
||||
@Schema(description = "签名密钥 appStr 密文(存储字段,接口不回显)")
|
||||
private byte[] goodsApiAppStrCipher;
|
||||
@TableField("goods_api_app_str")
|
||||
@Schema(description = "签名密钥 appStr 明文")
|
||||
private String goodsApiAppStr;
|
||||
|
||||
@TableField("credential_version")
|
||||
@Schema(description = "凭证版本号")
|
||||
@@ -176,37 +176,19 @@ public class LbThirdIntegrationConfig implements Serializable {
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
// ---------- 明文凭证(仅请求入参,不落库)----------
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "完整 Cookie 明文(保存时加密入库)")
|
||||
private String cookiePlain;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "PHPSID 明文(保存时加密入库)")
|
||||
private String phpsidPlain;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "货品/抢购 token 明文(保存时加密入库)")
|
||||
private String goodsApiTokenPlain;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "签名密钥 appStr 明文(保存时加密入库)")
|
||||
private String goodsApiAppStrPlain;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "是否已配置 Cookie 密文")
|
||||
@Schema(description = "是否已配置 Cookie")
|
||||
private Boolean cookieConfigured;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "是否已配置 PHPSID 密文")
|
||||
@Schema(description = "是否已配置 PHPSID")
|
||||
private Boolean phpsidConfigured;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "是否已配置货品 token 密文")
|
||||
@Schema(description = "是否已配置货品 token")
|
||||
private Boolean goodsApiTokenConfigured;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "是否已配置 appStr 密文")
|
||||
@Schema(description = "是否已配置 appStr")
|
||||
private Boolean goodsApiAppStrConfigured;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user