|
|
@@ -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
|