jaryhe 7 сар өмнө
parent
commit
3a8f042fda
2 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 1 0
      apis/common.go
  2. 1 0
      utils/common.go

+ 1 - 0
apis/common.go

@@ -8,6 +8,7 @@ type MerchantApiInfo struct {
 	BaseApiId          int64  `json:"base_api_id"`
 	RandomPercentage   int    `json:"random_percentage"`
 	ApiTimeout         uint64 `json:"api_timeout" description:"商户接口超时时间"`
+	ResponseParamConf    []ManagementBaseApiParam `json:"response_param_conf" description:"响应参数"`
 }
 
 type CommonReq struct {

+ 1 - 0
utils/common.go

@@ -258,6 +258,7 @@ func FillMerchantApiInfo(merchantApiInfo *apis.MerchantApiInfo, merchantApiResul
 	merchantApiInfo.ReuseTime = merchantApiResult.ReuseTime
 	merchantApiInfo.RandomPercentage = merchantApiResult.RandomPercentage
 	merchantApiInfo.ApiTimeout = merchantApiResult.Timeout
+	merchantApiInfo.ResponseParamConf = merchantApiResult.ResponseParamConf
 }
 
 func NewAccessLogNew(rawRequestParams string, isReuse bool, LReq []apis.ThirdpartLogWrite, RemoteAddr string, merchantApiResult *apis.CheckMerchantApiResult) apis.LogAddAccessLogReq {