jeecgboot修改非超管用户不可以看见,系统超管用户和超管角色
1.修改系统用户查询接口,SysUserController-108行添加 LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); String account =sysUser.getUsername(); //登录用户不是超管,不显示超管…
1.修改系统用户查询接口,SysUserController-108行添加 LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); String account =sysUser.getUsername(); //登录用户不是超管,不显示超管…
springboot logback.xml 配置 <?xml version="1.0" encoding="UTF-8"?> <configuration debug="false"> <!--定义日志文件的存储地址 --> <property na…
public static void main(String[] args) { int start=10000; int end=99999; int number = new Random().nextInt(end - start + 1) + start; System.out.println(number); }
package org.jeecg.modules.cdz.utils; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; import java.util.Random; /** * 金额工具类,主要是金额的格式化,金额的…
应该是SSL证书握手的时候,不匹配,造成握手失败 反向代理配置文件 location /{ #添加 proxy_ssl_server_name on; proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2; }
#!/usr/bin/python3 from tkinter import * import base64 import time import _thread import queue import pygame class Application(Frame): """右键菜单item点击事件 点击后开启多…