浏览代码

增加应答加密配置

kobe6258 8 月之前
父节点
当前提交
febefe99df
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      common/component/config/ht_biz_config.go

+ 0 - 6
common/component/config/ht_biz_config.go

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