diff --git a/pom.xml b/pom.xml
index 1125a3b..141936a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -234,9 +234,9 @@
- org.jsoup
- jsoup
- 1.18.3
+ cn.com.jit
+ authSDK
+ 3.0.3
diff --git a/sql/20250116.sql b/sql/20250116.sql
new file mode 100644
index 0000000..925a671
--- /dev/null
+++ b/sql/20250116.sql
@@ -0,0 +1,23 @@
+CREATE TABLE `model_generation` (
+ `id` int NOT NULL AUTO_INCREMENT,
+ `model_id` int NOT NULL,
+ `involve_depart_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '涉及单位',
+ `involve_depart_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '涉及单位ID',
+ `involve_police_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '涉及人员',
+ `involve_police_emp_no` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '涉及人员警号',
+ `happen_time` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '发生时间',
+ `thing_desc_generation` text COLLATE utf8mb4_general_ci COMMENT '预警内容生成器',
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
+ `update_time` datetime DEFAULT NULL COMMENT '更新时间',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='模型生成表';
+
+ALTER TABLE `negative`.`model`
+ ADD COLUMN `clue_table_name` varchar(255) NULL COMMENT '模型结果表名' AFTER `reply_limit`,
+ ADD COLUMN `clue_unique_field_name` varchar(255) NULL COMMENT '同步唯一字段名' AFTER `reply_limit`,
+ ADD COLUMN `clue_cycle` varchar(255) NULL COMMENT '同步周期' AFTER `reply_limit`,
+ ADD COLUMN `clue_cycle_day_of_week` varchar(255) NULL COMMENT '同步周期-周' AFTER `reply_limit`,
+ ADD COLUMN `clue_cycle_time` varchar(255) NULL COMMENT '同步时间' AFTER `reply_limit`;
+
+ALTER TABLE `negative`.`model`
+ ADD COLUMN `thing_desc_generation` text NULL COMMENT '模型结果表名' AFTER `clue_cycle_time`;
\ No newline at end of file
diff --git a/src/main/java/com/biutag/supervision/config/InterceptorConfig.java b/src/main/java/com/biutag/supervision/config/InterceptorConfig.java
index 4876188..d0b3dfc 100644
--- a/src/main/java/com/biutag/supervision/config/InterceptorConfig.java
+++ b/src/main/java/com/biutag/supervision/config/InterceptorConfig.java
@@ -35,7 +35,8 @@ public class InterceptorConfig implements WebMvcConfigurer {
registry.addInterceptor(new DefaultInterceptor())
.addPathPatterns("/**")
.excludePathPatterns("/api/**")
- .excludePathPatterns("/login")
+ // 登录
+ .excludePathPatterns("/login", "/jit/**")
.excludePathPatterns("/auth/self")
.excludePathPatterns("/file/stream/**", "/templates/**")
.excludePathPatterns("/datav/risk/**")
diff --git a/src/main/java/com/biutag/supervision/constants/enums/TimeLimitEnum.java b/src/main/java/com/biutag/supervision/constants/enums/TimeLimitEnum.java
index e274d69..327509c 100644
--- a/src/main/java/com/biutag/supervision/constants/enums/TimeLimitEnum.java
+++ b/src/main/java/com/biutag/supervision/constants/enums/TimeLimitEnum.java
@@ -9,7 +9,8 @@ import lombok.Getter;
public enum TimeLimitEnum {
WORK_137("137工作制", "3+7", 1, 3, 7),
- WORK_145("145工作制", "4+5", 1, 4, 5),
+ WORK_177("177工作制", "7+7", 1, 7, 7),
+ WORK_15_15("15+15工作制", "15+15", 1, 15, 15),
WORK_30_30("30+30工作制", "30+30", 1, 30, 30),
OTHER("其他", "other", null, null, null);
diff --git a/src/main/java/com/biutag/supervision/controller/LoginController.java b/src/main/java/com/biutag/supervision/controller/LoginController.java
index 8b7ffae..4bc12eb 100644
--- a/src/main/java/com/biutag/supervision/controller/LoginController.java
+++ b/src/main/java/com/biutag/supervision/controller/LoginController.java
@@ -1,12 +1,11 @@
package com.biutag.supervision.controller;
-import cn.hutool.core.util.IdUtil;
-import com.biutag.supervision.common.UserContextHolder;
-import com.biutag.supervision.constants.RedisKeyConstants;
+import cn.com.jit.JitAuthClient;
+import com.alibaba.fastjson2.JSON;
+import com.alibaba.fastjson2.JSONObject;
import com.biutag.supervision.pojo.Result;
import com.biutag.supervision.pojo.dto.AccountDto;
import com.biutag.supervision.pojo.entity.BaseAccount;
-import com.biutag.supervision.pojo.model.UserAuth;
import com.biutag.supervision.pojo.vo.TokenVo;
import com.biutag.supervision.service.BaseAccountService;
import com.biutag.supervision.service.UserLoginService;
@@ -14,15 +13,14 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.security.crypto.bcrypt.BCrypt;
+import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
+import java.util.Map;
import java.util.Objects;
-import java.util.concurrent.TimeUnit;
@Tag(name = "登录接口")
@Slf4j
@@ -34,11 +32,6 @@ public class LoginController {
private final UserLoginService userLoginService;
- private final RedisTemplate