|
@@ -3,8 +3,9 @@ package pb
|
|
|
const (
|
|
const (
|
|
|
Authorization = "Authorization"
|
|
Authorization = "Authorization"
|
|
|
//配置参数KEY
|
|
//配置参数KEY
|
|
|
- ConfigAesEncryptParamKey = "aesEncryptConfig"
|
|
|
|
|
- ConfigApiLogEnableParamKey = "apiLogEnable"
|
|
|
|
|
|
|
+ ConfigAesEncryptParamKey = "aesEncryptConfig"
|
|
|
|
|
+ ConfigWebAesEncryptParamKey = "webAesEncryptConfig"
|
|
|
|
|
+ ConfigApiLogEnableParamKey = "apiLogEnable"
|
|
|
|
|
|
|
|
//通用参数
|
|
//通用参数
|
|
|
HeaderXNlContentEncoding = "X-NL-Content-Encoding" //返回给客户端的压缩标识
|
|
HeaderXNlContentEncoding = "X-NL-Content-Encoding" //返回给客户端的压缩标识
|
|
@@ -13,6 +14,7 @@ const (
|
|
|
HeaderXNlCryptoValue = "J4zjl/1t7kSyktxbDvyYlw==" //产品
|
|
HeaderXNlCryptoValue = "J4zjl/1t7kSyktxbDvyYlw==" //产品
|
|
|
HeaderXNlDevIp = "X-NL-DEV-IP" //测试IP
|
|
HeaderXNlDevIp = "X-NL-DEV-IP" //测试IP
|
|
|
HeaderXNlDisabledEncrypt = "X-NL-DEV-DISABLED-ENCRYPT" //加密禁用
|
|
HeaderXNlDisabledEncrypt = "X-NL-DEV-DISABLED-ENCRYPT" //加密禁用
|
|
|
|
|
+ HeaderXNlRequestType = "X-NL-Request-Type" //加密禁用
|
|
|
|
|
|
|
|
//内部参数
|
|
//内部参数
|
|
|
InnerHeaderResCompressMethod = "Res-Encrypt-CompressMethod"
|
|
InnerHeaderResCompressMethod = "Res-Encrypt-CompressMethod"
|