clear log
This commit is contained in:
parent
23b8bda2a0
commit
be5fcdf414
|
|
@ -274,16 +274,14 @@ func (s *CmbMixRepoImpl) Request(ctx context.Context, req *v1.CmbRequest, uri st
|
|||
return nil, err
|
||||
}
|
||||
|
||||
log.Warnf("请求掌上生活响应结果,url:%s,bodyBytes:%s", r, string(bodyBytes))
|
||||
|
||||
var response *v1.CmbReply
|
||||
if err = json.Unmarshal(bodyBytes, &response); err != nil {
|
||||
log.Errorf("请求掌上生活返回数据解析报错:%s", err.Error())
|
||||
log.Errorf("请求掌上生活返回数据解析报错:%s,url:%s,bodyBytes:%s", err.Error(), r, string(bodyBytes))
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if response.RespCode != vo.CmbResponseStatusSuccess.GetValue() {
|
||||
log.Errorf("请求掌上生活返回报错:%s", r, response.RespMsg)
|
||||
log.Errorf("请求掌上生活返回报错:msg:%s,url:%s,bodyBytes:%s", response.RespMsg, r, string(bodyBytes))
|
||||
return nil, fmt.Errorf(response.RespMsg)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue