自定消息类型,风险排查
This commit is contained in:
parent
fde43f6237
commit
45212916ce
|
@ -79,7 +79,7 @@ func (s *AlipayRedPackService) Query(ctx context.Context, request *proto.QueryRe
|
|||
|
||||
var response po.QueryResp
|
||||
if err = json.Unmarshal(bodyBytes, &response); err != nil {
|
||||
return nil, err
|
||||
return nil, proto.ErrorResponseFail(err.Error())
|
||||
}
|
||||
|
||||
return queryResp(request, response), nil
|
||||
|
|
Loading…
Reference in New Issue