Skip to content

Commit

Permalink
update: 更新wkcache方法缓存文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn authored Jun 19, 2017
1 parent 9bb287b commit fef2578
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wk-wiki/06.Other/06.06.wkcache.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ public class GoodsProductServiceImpl extends BaseServiceImpl<Goods_product> impl
//todo
return 0;
}
@CacheResult(cacheKey = "${args[0].id}_${args[0].loginname}")
public Object getObjData(Member_user user) {
//todo
return obj;
}
@CacheResult
//不指定cacheKey按wkcache默认规则生成cacheKey
Expand Down

0 comments on commit fef2578

Please sign in to comment.