update code
parent
a32bb3c79c
commit
29cf879d11
|
@ -108,6 +108,8 @@
|
||||||
<artifactId>mkl-screen</artifactId>
|
<artifactId>mkl-screen</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 业务模块-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.qcloud</groupId>
|
<groupId>com.qcloud</groupId>
|
||||||
<artifactId>cos_api</artifactId>
|
<artifactId>cos_api</artifactId>
|
||||||
|
|
|
@ -8,6 +8,7 @@ import javax.servlet.ServletOutputStream;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import javax.servlet.http.HttpSession;
|
import javax.servlet.http.HttpSession;
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<!--左侧导航开始-->
|
<!--左侧导航开始111-->
|
||||||
<nav class="navbar-default navbar-static-side" role="navigation">
|
<nav class="navbar-default navbar-static-side" role="navigation">
|
||||||
|
|
||||||
<div class="sidebar-collapse">
|
<div class="sidebar-collapse">
|
||||||
|
|
|
@ -45,6 +45,7 @@ public class ResourcesConfig implements WebMvcConfigurer
|
||||||
|
|
||||||
/** swagger配置 */
|
/** swagger配置 */
|
||||||
registry.addResourceHandler("/swagger-ui/**").addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/");
|
registry.addResourceHandler("/swagger-ui/**").addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/");
|
||||||
|
registry.addResourceHandler("/yanzhu-ui/**").addResourceLocations("classpath:/yanzhu-ui/");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -383,6 +383,7 @@ public class ShiroConfig
|
||||||
filterChainDefinitionMap.put("/components/**", "anon");
|
filterChainDefinitionMap.put("/components/**", "anon");
|
||||||
filterChainDefinitionMap.put("/js/**", "anon");
|
filterChainDefinitionMap.put("/js/**", "anon");
|
||||||
filterChainDefinitionMap.put("/css/**", "anon");
|
filterChainDefinitionMap.put("/css/**", "anon");
|
||||||
|
filterChainDefinitionMap.put("/yanzhu-ui/**", "anon");
|
||||||
filterChainDefinitionMap.put("/images/**", "anon");
|
filterChainDefinitionMap.put("/images/**", "anon");
|
||||||
filterChainDefinitionMap.put("/fonts/**", "anon");
|
filterChainDefinitionMap.put("/fonts/**", "anon");
|
||||||
filterChainDefinitionMap.put("/fileimg.makalu.cc/**", "anon");
|
filterChainDefinitionMap.put("/fileimg.makalu.cc/**", "anon");
|
||||||
|
|
|
@ -82,4 +82,9 @@ public class SysPasswordService
|
||||||
{
|
{
|
||||||
return new Md5Hash(loginName + password + salt).toHex();
|
return new Md5Hash(loginName + password + salt).toHex();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args){
|
||||||
|
String data="xdadminadmin123c73d0c";
|
||||||
|
System.out.println(new Md5Hash(data).toHex());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<artifactId>ruoyi</artifactId>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<version>4.6.1</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<artifactId>ruoyi-yanzhu</artifactId>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
system系统模块
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- 通用工具-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<artifactId>ruoyi-common</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
</project>
|
|
@ -0,0 +1,18 @@
|
||||||
|
package com.ruoyi.system.controler.attendance;
|
||||||
|
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/mklapi/attendance/cfg")
|
||||||
|
public class AttendanceCfgController {
|
||||||
|
|
||||||
|
@GetMapping("/test")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult test(){
|
||||||
|
return AjaxResult.success("ok");
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
package com.yanzhu.jh.tools;
|
||||||
|
|
||||||
|
public class SecurityUtils {
|
||||||
|
}
|
Loading…
Reference in New Issue