Jay преди 1 месец
родител
ревизия
43c86116a0
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      pb/aes.go

+ 2 - 0
pb/aes.go

@@ -36,6 +36,7 @@ type AesConfig struct {
 	AesDirect      bool   `json:"aesDirect"`      //true 时直接用Aes加密解密,false 时用iv+(encryptData(timestamp+encryptData(content)))加密
 	Compress       string `json:"compress"`       // 空 or gzip 或者 br
 	CompressLength int64  `json:"compressLength"` // 压缩判断长度
+	XNlCryptoKey   string `json:"xNlCryptoKey"`
 	Request        struct {
 		Key string `json:"key"`
 		Iv  string `json:"iv"`
@@ -57,6 +58,7 @@ type (
 	ProductInfo struct {
 		Log                   bool `json:"log"`
 		EncryptEnable         bool
+		XNlCryptoKey          string `json:"xNlCryptoKey"`
 		RequestEncryptConfig  *EncryptConfig
 		ResponseEncryptConfig *EncryptConfig
 		AesDirect             bool