摘要: pom文件中引入ehcache依赖 在类路径下存放ehcache.xml文件。 application.xml中指定: 类标注@EnableCaching 实现核心代码 使用 在调用支付接口的地方调用PayToken.getInstance().pinUser(user.getKey())即可,若抛 阅读全文
posted @ 2017-07-08 01:05 zhanglin0506 阅读(824) 评论(0) 推荐(0) 编辑