|
@@ -8,7 +8,6 @@ type HTOpts struct {
|
|
|
MediaIndex string
|
|
|
Encode string
|
|
|
DesCode string
|
|
|
- DesSalt string
|
|
|
}
|
|
|
type HTBizConfig struct {
|
|
|
BaseConfig
|
|
@@ -23,10 +22,6 @@ func (e *HTBizConfig) GetMediaIndex() string {
|
|
|
return e.opts.MediaIndex
|
|
|
}
|
|
|
|
|
|
-func (e *HTBizConfig) GetDesSalt() string {
|
|
|
- return e.opts.DesSalt
|
|
|
-}
|
|
|
-
|
|
|
func (e *HTBizConfig) NeedEncode() bool {
|
|
|
if e.opts.Encode == "true" {
|
|
|
return true
|
|
@@ -43,7 +38,6 @@ func (e *HTBizConfig) InitConfig() {
|
|
|
MediaIndex: e.GetString("es_media_index"),
|
|
|
Encode: e.GetString("response.encode"),
|
|
|
DesCode: e.GetString("response.des_code"),
|
|
|
- DesSalt: e.GetString("response.des_salt"),
|
|
|
}
|
|
|
e.opts = opts
|
|
|
}
|