加注释

This commit is contained in:
baozhipeng
2021-12-15 13:42:16 +08:00
parent 2883588c33
commit ef94e8d31d
3 changed files with 7 additions and 2 deletions
@@ -104,9 +104,13 @@ public class SysBaseApiImpl implements ISysBaseAPI {
@Resource
private HuaWeiSmsUtil huaWeiSmsUtil;
/**
* 根据用户名或者手机号获取用户
* @param username
* @return
*/
@Override
// @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;