fix 修复单词拼写错误

master
JackyTang 4 years ago
parent 76f1650109
commit bc9098bc22

@ -51,8 +51,8 @@ public class RedisLockController {
* lock4j * lock4j
*/ */
@ApiOperation("测试lock4j 工具") @ApiOperation("测试lock4j 工具")
@GetMapping("/testLock4jLockTemaplate") @GetMapping("/testLock4jLockTemplate")
public AjaxResult<String> testLock4jLockTemaplate(String key, String value) { public AjaxResult<String> testLock4jLockTemplate(String key, String value) {
final LockInfo lockInfo = lockTemplate.lock(key, 30000L, 5000L, RedissonLockExecutor.class); final LockInfo lockInfo = lockTemplate.lock(key, 30000L, 5000L, RedissonLockExecutor.class);
if (null == lockInfo) { if (null == lockInfo) {
throw new RuntimeException("业务处理中,请稍后再试"); throw new RuntimeException("业务处理中,请稍后再试");

Loading…
Cancel
Save