正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -29,7 +29,7 @@ func NewSystemEditAticleCommentLoveLogic(ctx context.Context, svcCtx *svc.Servic | @@ -29,7 +29,7 @@ func NewSystemEditAticleCommentLoveLogic(ctx context.Context, svcCtx *svc.Servic | ||
| 29 | func (l *SystemEditAticleCommentLoveLogic) SystemEditAticleCommentLove(req *types.SystemEditCommentLoveRequest) (resp *types.SystemEditCommentLoveResponse, err error) { | 29 | func (l *SystemEditAticleCommentLoveLogic) SystemEditAticleCommentLove(req *types.SystemEditCommentLoveRequest) (resp *types.SystemEditCommentLoveResponse, err error) { |
| 30 | var conn = l.svcCtx.DefaultDBConn() | 30 | var conn = l.svcCtx.DefaultDBConn() |
| 31 | 31 | ||
| 32 | - if len(req.ParamList) > 0 { | 32 | + if len(req.ParamList) <= 0 { |
| 33 | return &types.SystemEditCommentLoveResponse{}, nil | 33 | return &types.SystemEditCommentLoveResponse{}, nil |
| 34 | } | 34 | } |
| 35 | paramMap := map[int64]int{} | 35 | paramMap := map[int64]int{} |
-
请 注册 或 登录 后发表评论