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