style: 部分代码优化

1.格式优化:去除部分多余空行(较少代码段区分尽量不添加空行)、注释(代码尽量自解释)
2.完善部分 Swagger 注解信息
3.修复部分前后端警告
This commit is contained in:
2023-09-10 18:01:44 +08:00
parent b874ca0782
commit a3082e72a9
34 changed files with 116 additions and 99 deletions

View File

@@ -72,7 +72,7 @@ public class LoginHelper {
/**
* 获取登录用户信息
*
* @return 登录用户信息
* @return 登录用户信息(获取 TokenSession 时如未登录,会抛出异常)
*/
public static LoginUser getLoginUser() {
LoginUser loginUser = (LoginUser)SaHolder.getStorage().get(CacheConsts.LOGIN_USER_KEY);