fix comb298y
This commit is contained in:
@@ -145,6 +145,14 @@ func (l *COMB298YLogic) COMB298Y(req *types.Request) (resp string, err *errs.App
|
||||
return "", errs.ErrSystem
|
||||
}
|
||||
apiRequests[i].Request = common.MapStructToAPIRequest(dataMap, apiRequests[i].Mapping, apiRequests[i].Wrap)
|
||||
|
||||
// 如果是 RIS031,添加 type: 3
|
||||
if apiRequests[i].SourceId == "RIS031" {
|
||||
if apiRequests[i].Request == nil {
|
||||
apiRequests[i].Request = make(map[string]interface{})
|
||||
}
|
||||
apiRequests[i].Request["type"] = 3
|
||||
}
|
||||
}
|
||||
logx.Infof("sourceId:%s,请求参数:%v", apiRequests[i].SourceId, apiRequests[i].Request)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user