| | |
| | | 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; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | throw new CustomException("获取用户ID异常", HttpStatus.UNAUTHORIZED); |
| | | throw new CustomException("获取用户ID异常", HttpStatus.HTTP_UNAUTHORIZED); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | throw new CustomException("获取部门ID异常", HttpStatus.UNAUTHORIZED); |
| | | throw new CustomException("获取部门ID异常", HttpStatus.HTTP_UNAUTHORIZED); |
| | | } |
| | | } |
| | | |