Skip to content

Commit 1f04745

Browse files
author
jiayu.qiu
committed
增加注释
1 parent c9ffcf4 commit 1f04745

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ SpringEL表达式使用起来确实非常方便,如果需要,@Cache中的exp
180180
... ...
181181
}
182182

183-
@CacheDelete({"'goods_comment_'+#args[0].goodsId+'*'"})
183+
@CacheDelete({"'goods_comment_'+#args[0].goodsId+'*'"}) // 删除当前所属商品的所有评论,不删除其它商品评论
184184
public void addComment(Comment comment) {
185185
... ...// 省略添加评论代码
186186
}

0 commit comments

Comments
 (0)