update 同步ruoyi

master
疯狂的狮子li 4 years ago
parent 9bfa420a76
commit c2de299834

@ -1,6 +1,7 @@
package com.ruoyi.web.controller.system;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import cn.hutool.core.util.ObjectUtil;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.constant.UserConstants;

@ -25,7 +25,7 @@ public class SecurityUtils
}
catch (Exception e)
{
throw new CustomException("获取用户ID异常", HttpStatus.UNAUTHORIZED);
throw new CustomException("获取用户ID异常", HttpStatus.HTTP_UNAUTHORIZED);
}
}
@ -40,7 +40,7 @@ public class SecurityUtils
}
catch (Exception e)
{
throw new CustomException("获取部门ID异常", HttpStatus.UNAUTHORIZED);
throw new CustomException("获取部门ID异常", HttpStatus.HTTP_UNAUTHORIZED);
}
}

Loading…
Cancel
Save