[add] 会员系统使用-临时增加 用于测试 会员项目管理页
This commit is contained in:
+3
-1
@@ -40,6 +40,7 @@ import com.jero.modules.system.service.*;
|
||||
import com.jero.modules.system.util.SecurityUtil;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.cache.annotation.CacheEvict;
|
||||
import org.springframework.cache.annotation.Cacheable;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.AntPathMatcher;
|
||||
@@ -101,7 +102,8 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
@Resource
|
||||
private HuaWeiSmsUtil huaWeiSmsUtil;
|
||||
@Override
|
||||
@Cacheable(cacheNames=CacheConstant.SYS_USERS_CACHE, key="#username")
|
||||
// @Cacheable(cacheNames=CacheConstant.SYS_USERS_CACHE, key="#username")
|
||||
@CacheEvict(cacheNames=CacheConstant.SYS_USERS_CACHE, key="#username")
|
||||
public LoginUser getUserByName(String username) {
|
||||
if(oConvertUtils.isEmpty(username)) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user