修改客户管理
This commit is contained in:
parent
6c8b350fa8
commit
3e2ab99fa0
50
pom.xml
50
pom.xml
|
|
@ -9,10 +9,10 @@
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>com.bonus.boot</groupId>
|
<groupId>com.bonus.boot</groupId>
|
||||||
<artifactId>zhly-service</artifactId>
|
<artifactId>szgqj-service</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>1.0.0.1-SNAPSHOT</version>
|
||||||
<name>zhly-service</name>
|
<name>szgqj-service</name>
|
||||||
<description>zhly-service</description>
|
<description>szgqj-service</description>
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
@ -155,7 +155,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>fastjson</artifactId>
|
<artifactId>fastjson</artifactId>
|
||||||
<version>1.2.28</version>
|
<version>1.2.83</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- junit -->
|
<!-- junit -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
@ -330,24 +330,26 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
<build>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<plugins>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<plugin>
|
||||||
<configuration>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<includeSystemScope>true</includeSystemScope>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
</configuration>
|
<configuration>
|
||||||
</plugin>
|
<includeSystemScope>true</includeSystemScope>
|
||||||
<plugin>
|
</configuration>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</plugin>
|
||||||
<version>2.6</version>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<configuration>
|
<version>2.6</version>
|
||||||
<encoding>UTF-8</encoding>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
</configuration>
|
<configuration>
|
||||||
</plugin>
|
<encoding>UTF-8</encoding>
|
||||||
</plugins>
|
</configuration>
|
||||||
</build>
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@ public class DecryptAndVerifyAspect {
|
||||||
if (annotation == null || annotation.decryptedClass() == null) {
|
if (annotation == null || annotation.decryptedClass() == null) {
|
||||||
throw new DecryptAndVerifyException(joinPoint.getSignature().getName() + ",未指定解密类型");
|
throw new DecryptAndVerifyException(joinPoint.getSignature().getName() + ",未指定解密类型");
|
||||||
}
|
}
|
||||||
|
System.setProperty("com.alibaba.fastjson.asmEnable", "false");
|
||||||
encryptedReq.setData(JSON.parseObject(decryptedData, annotation.decryptedClass()));
|
encryptedReq.setData(JSON.parseObject(decryptedData, annotation.decryptedClass()));
|
||||||
return joinPoint.proceed();
|
return joinPoint.proceed();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,11 @@ public class TokenFilter extends OncePerRequestFilter {
|
||||||
Boolean isYq=true;
|
Boolean isYq=true;
|
||||||
String url=uri.replace(filePath+"/","").trim();
|
String url=uri.replace(filePath+"/","").trim();
|
||||||
String[] htmls=html.split(",");
|
String[] htmls=html.split(",");
|
||||||
|
|
||||||
for (int i = 0; i <htmls.length ; i++) {
|
for (int i = 0; i <htmls.length ; i++) {
|
||||||
|
if(url.equals("pages/home/home.html")){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(url.equals(htmls[i])){
|
if(url.equals(htmls[i])){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -172,7 +176,9 @@ public class TokenFilter extends OncePerRequestFilter {
|
||||||
String model=menuService.getMenuName(url);
|
String model=menuService.getMenuName(url);
|
||||||
if(StringHelper.isNotEmpty(model)){
|
if(StringHelper.isNotEmpty(model)){
|
||||||
return true;
|
return true;
|
||||||
} else isYq=false;
|
} else {
|
||||||
|
isYq=false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(isYq){
|
if(isYq){
|
||||||
insertSysLogs(request, url,token);
|
insertSysLogs(request, url,token);
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
var ctxPath = getContextPath();
|
var ctxPath = getContextPath();
|
||||||
let aqEnnable = false;//是否开启安全验证
|
let aqEnnable = true;//是否开启安全验证
|
||||||
// console.log(ctxPath)
|
// console.log(ctxPath)
|
||||||
var url=window.location.href;
|
var url=window.location.href;
|
||||||
// console.log(url)
|
// console.log(url)
|
||||||
let dataUrl = "http://192.168.0.7:8000/szgqj"
|
let dataUrl = "http://192.168.0.14:11997/szgqj"
|
||||||
if(url.indexOf("127.0.0.1")!=-1){
|
if(url.indexOf("127.0.0.1")!=-1){
|
||||||
dataUrl = "http://127.0.0.1:11997/szgqj"
|
dataUrl = "http://127.0.0.1:11997/szgqj"
|
||||||
}else{
|
}else{
|
||||||
if(url.indexOf(":8000")!=-1){
|
if(url.indexOf(":8000")!=-1){
|
||||||
dataUrl = "http://192.168.0.7:8000/szgqj"
|
dataUrl = "http://192.168.0.14:8000/szgqj"
|
||||||
}
|
}
|
||||||
if(url.indexOf(":11997")!=-1){
|
if(url.indexOf(":11997")!=-1){
|
||||||
dataUrl = "http://192.168.0.7:8000/szgqj"
|
dataUrl = "http://192.168.0.14:11997/szgqj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue