update 优化 锁切面代码 key到常量类

This commit is contained in:
疯狂的狮子li
2021-06-04 16:46:28 +08:00
parent 450c6759eb
commit f087b37cb3
2 changed files with 11 additions and 9 deletions

View File

@ -2,7 +2,7 @@ package com.ruoyi.common.constant;
/**
* 通用常量信息
*
*
* @author ruoyi
*/
public class Constants
@ -126,4 +126,9 @@ public class Constants
* 资源映射路径 前缀
*/
public static final String RESOURCE_PREFIX = "/profile";
/**
* 资源映射路径 前缀
*/
public static final String REDIS_LOCK_KEY = "redis_lock:";
}