|
|
|
@ -78,25 +78,25 @@ public class FontController {
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "updatePass")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public String updatePass(String passFlag){
|
|
|
|
|
if (passFlag.equals("")){
|
|
|
|
|
public String updatePass(String passFlag) {
|
|
|
|
|
if (passFlag.equals("")) {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
List<Power_UserVo> powerUserVos = power_userMapper.getuserNameList();
|
|
|
|
|
StringBuffer sb=new StringBuffer();
|
|
|
|
|
for (Power_UserVo list:powerUserVos){
|
|
|
|
|
StringBuffer sb = new StringBuffer();
|
|
|
|
|
for (Power_UserVo list : powerUserVos) {
|
|
|
|
|
String userPwd = list.getUserPwd();
|
|
|
|
|
String decode = Base64.decode(userPwd);
|
|
|
|
|
String jm = MD5.JM(decode);
|
|
|
|
|
String userName = list.getUserName();
|
|
|
|
|
boolean contains = jm.contains(userName);
|
|
|
|
|
if (contains){
|
|
|
|
|
System.out.println("userName:"+userName);
|
|
|
|
|
sb.append("'"+userName+"'"+",");
|
|
|
|
|
if (contains) {
|
|
|
|
|
System.out.println("userName:" + userName);
|
|
|
|
|
sb.append("'" + userName + "'" + ",");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
String s = sb.toString();
|
|
|
|
|
return s ;
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -810,7 +810,15 @@ public class FontController {
|
|
|
|
|
return "该账号未设置姓名";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description: 查询菜单授权
|
|
|
|
|
* @author linjj
|
|
|
|
|
* @date: 2024/9/18 16:44
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/getUserMun", produces = "text/plain;charset=UTF-8")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public String getUserMun(Integer userId) {
|
|
|
|
|
String flag = power_userMapper.getPdf(userId);
|
|
|
|
|
return flag;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|