This commit is contained in:
withchao 2023-01-12 16:56:44 +08:00
parent 8cc76e83f6
commit 3270cbab8c

View File

@ -727,7 +727,7 @@ func (s *groupServer) GroupApplicationResponse(ctx context.Context, req *pbGroup
return nil, err return nil, err
} }
if cacheResp.CommonResp.ErrCode != 0 { if cacheResp.CommonResp.ErrCode != 0 {
return nil, utils.Wrap(constant.ErrInfo{ return nil, utils.Wrap(&constant.ErrInfo{
ErrCode: cacheResp.CommonResp.ErrCode, ErrCode: cacheResp.CommonResp.ErrCode,
ErrMsg: cacheResp.CommonResp.ErrMsg, ErrMsg: cacheResp.CommonResp.ErrMsg,
}, "") }, "")