码友<马丁的早晨>的建议 使用AOP + 锁实现

This commit is contained in:
小柒2012
2018-05-21 13:41:58 +08:00
parent a456b1902b
commit 5dd4859fe7

View File

@@ -95,7 +95,7 @@ public class SeckillController {
Runnable task = new Runnable() {
@Override
public void run() {
Result result = seckillService.startSeckilLock(killId, userId);
Result result = seckillService.startSeckilAopLock(killId, userId);
LOGGER.info("用户:{}{}",userId,result.get("msg"));
}
};