1、允许匿名访问地址,排查/模糊匹配,修改为严格相等

2、解决终审列表查询管理员报错问题
dev
chenhui 1 year ago
parent 163e264375
commit 77aafd3a78

@ -58,17 +58,21 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter {
String[] excludespath = systemopenurlService.getOpenUrl();
//不需要过滤的url
String[] excludesOther = {"/static","/json",".js",".css",".ico",".jpg",".png",".pcm","/","/druid"};
String[] excludesOther = {"/static","/json",".js",".css",".ico",".jpg",".png",".pcm","/druid"};
String[] urls = ArrayUtils.addAll(excludespath, excludesOther);
boolean flag = true;
if("/".equalsIgnoreCase(spath)) {
flag = false;
}else{
for (String str : urls) {
if (spath.indexOf(str) != -1) {
flag =false;
flag = false;
break;
}
}
}
if(flag){
//获取登录凭证
String logintoken = RequestBaseUtil.getToken(request);

@ -168,7 +168,8 @@ select tcp.* from (
select
tc.*
from ocr_taskchild_picture tc,OA_USERFINAL_T uf
where tc.ID = uf.FORMID and uf.USERID ${thisLoginUserid.dataOp} ${thisLoginUserid.likestar}#{thisLoginUserid.value}${thisLoginUserid.likeend}
where tc.ID = uf.FORMID
<if test="thisLoginUserid != null"> and uf.USERID ${thisLoginUserid.dataOp} ${thisLoginUserid.likestar}#{thisLoginUserid.value}${thisLoginUserid.likeend}</if>
UNION
select
tc.*
@ -188,7 +189,8 @@ select tcp.* from (
select
tc.*
from ocr_taskchild_picture tc,OA_USERFINAL_T uf
where tc.ID = uf.FORMID and uf.USERID ${thisLoginUserid.dataOp} ${thisLoginUserid.likestar}#{thisLoginUserid.value}${thisLoginUserid.likeend}
where tc.ID = uf.FORMID
<if test="thisLoginUserid != null"> and uf.USERID ${thisLoginUserid.dataOp} ${thisLoginUserid.likestar}#{thisLoginUserid.value}${thisLoginUserid.likeend}</if>
UNION
select
tc.*

@ -23,10 +23,10 @@ spring:
primary: master
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/ocr?useUnicode=true&nullCatalogMeansCurrent=true&characterEncoding=UTF-8&characterSetResults=utf8&serverTimezone=Asia/Shanghai&useSSL=false
url: jdbc:mysql://47.93.59.251:3306/ocrnew?useUnicode=true&nullCatalogMeansCurrent=true&characterEncoding=UTF-8&characterSetResults=utf8&serverTimezone=Asia/Shanghai&useSSL=false
driver-class-name: com.mysql.cj.jdbc.Driver
username: jyjz
password: jyjz
username: ysltest
password: ysltest2024.
type: com.alibaba.druid.pool.DruidDataSource
slave:
url: jdbc:mysql://127.0.0.1:3306/ocr?useUnicode=true&nullCatalogMeansCurrent=true&characterEncoding=UTF-8&characterSetResults=utf8&serverTimezone=Asia/Shanghai&useSSL=false
@ -104,7 +104,7 @@ flowable:
deployment-api-url: http://127.0.0.1:9090/foodapi/flowable-task/app-api
#关闭定时任务JOB
async-executor-activate: false
database-schema-update: true
database-schema-update: false
#
# cache:
# type: redis
@ -140,7 +140,7 @@ flowable:
mybatis:
mapper-locations:
- classpath*:mapper/**/*.xml
# - classpath*:/META-INF/modeler-mybatis-mappings/*.xml
# - classpath*:/META-INF/modeler-mybatis-mappings/*.xml
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
configuration-properties:
@ -161,15 +161,15 @@ mybatis-plus:
xiaoyao:
web:
#上传文件路径
uploadPath: D:/ideaWork/jeecg/ocrproject/htmlweb/upload
uploadPath: X:/project3/2024_ai_gd/ocr/htmlweb/upload
#页面根路径
frontPath: D:/ideaWork/jeecg/ocrproject/htmlweb
frontPath: X:/project3/2024_ai_gd/ocr/htmlweb
#js、css、图片存放路径
staticPath: D:/ideaWork/jeecg/ocrproject/htmlweb/static
staticPath: X:/project3/2024_ai_gd/ocr/htmlweb/static
#页面模版路径
webPath: D:/ideaWork/jeecg/ocrproject/htmlweb/web
webPath: X:/project3/2024_ai_gd/ocr/htmlweb/web
#Lucene索引路径
lucenePath: D:/ideaWork/jeecg/ocrproject/htmlweb/lucene/indexDir
lucenePath: X:/project3/2024_ai_gd/ocr/htmlweb/lucene/indexDir
#是否开启flowable
haveFlowable: true
webconfig:

Loading…
Cancel
Save