diff --git a/.idea/sonarlint/issuestore/1/2/12e8ab2f5a454e91c126a4e1f9940a4580eeb7b8 b/.idea/sonarlint/issuestore/1/2/12e8ab2f5a454e91c126a4e1f9940a4580eeb7b8
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/2/9/298eea408ade291172a069e5e4713c6ba80a4ad8 b/.idea/sonarlint/issuestore/2/9/298eea408ade291172a069e5e4713c6ba80a4ad8
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/2/c/2c9c3830f02578cd8f87c1d7a32b6943d5cef475 b/.idea/sonarlint/issuestore/2/c/2c9c3830f02578cd8f87c1d7a32b6943d5cef475
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/3/e/3e57db23edc9384d34d203c005bff14dbd38f227 b/.idea/sonarlint/issuestore/3/e/3e57db23edc9384d34d203c005bff14dbd38f227
new file mode 100644
index 0000000..4a087f7
--- /dev/null
+++ b/.idea/sonarlint/issuestore/3/e/3e57db23edc9384d34d203c005bff14dbd38f227
@@ -0,0 +1,5 @@
+
+U
+java:S1118":Add a private constructor to hide the implicit public one.(
+B
+java:S1068"'Remove this unused "log" private field.(ұ
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346 b/.idea/sonarlint/issuestore/6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346
new file mode 100644
index 0000000..a46dbc8
--- /dev/null
+++ b/.idea/sonarlint/issuestore/6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346
@@ -0,0 +1,5 @@
+
+P
+java:S1118":Add a private constructor to hide the implicit public one.(ӿ
+=
+java:S1068"'Remove this unused "log" private field.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/7/f/7f962f43c2b25bb766b4ed26760656dddb13369c b/.idea/sonarlint/issuestore/7/f/7f962f43c2b25bb766b4ed26760656dddb13369c
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae b/.idea/sonarlint/issuestore/9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae
new file mode 100644
index 0000000..27b4124
--- /dev/null
+++ b/.idea/sonarlint/issuestore/9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae
@@ -0,0 +1,5 @@
+
+U
+java:S1118":Add a private constructor to hide the implicit public one.(
+=
+java:S1068"'Remove this unused "log" private field.(ƴ
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb
new file mode 100644
index 0000000..a906228
--- /dev/null
+++ b/.idea/sonarlint/issuestore/index.pb
@@ -0,0 +1,15 @@
+
+V
+&bonus-ai/src/main/resources/banner.txt,7/f/7f962f43c2b25bb766b4ed26760656dddb13369c
+Y
+)bonus-ai/src/main/resources/bootstrap.yml,1/2/12e8ab2f5a454e91c126a4e1f9940a4580eeb7b8
+W
+'bonus-ai/src/main/resources/logback.xml,2/9/298eea408ade291172a069e5e4713c6ba80a4ad8
+|
+Lbonus-ai/src/main/java/com/bonus/ai/controller/ViolationRecogController.java,3/e/3e57db23edc9384d34d203c005bff14dbd38f227
+x
+Hbonus-ai/src/main/java/com/bonus/ai/controller/ModelTrainController.java,9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae
+y
+Ibonus-ai/src/main/java/com/bonus/ai/controller/FacialRecogController.java,6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346
+v
+Fbonus-ai/src/main/java/com/bonus/ai/controller/OcrRecogController.java,2/c/2c9c3830f02578cd8f87c1d7a32b6943d5cef475
\ No newline at end of file
diff --git a/.idea/sonarlint/securityhotspotstore/1/2/12e8ab2f5a454e91c126a4e1f9940a4580eeb7b8 b/.idea/sonarlint/securityhotspotstore/1/2/12e8ab2f5a454e91c126a4e1f9940a4580eeb7b8
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/2/9/298eea408ade291172a069e5e4713c6ba80a4ad8 b/.idea/sonarlint/securityhotspotstore/2/9/298eea408ade291172a069e5e4713c6ba80a4ad8
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/2/c/2c9c3830f02578cd8f87c1d7a32b6943d5cef475 b/.idea/sonarlint/securityhotspotstore/2/c/2c9c3830f02578cd8f87c1d7a32b6943d5cef475
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/3/e/3e57db23edc9384d34d203c005bff14dbd38f227 b/.idea/sonarlint/securityhotspotstore/3/e/3e57db23edc9384d34d203c005bff14dbd38f227
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346 b/.idea/sonarlint/securityhotspotstore/6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/7/f/7f962f43c2b25bb766b4ed26760656dddb13369c b/.idea/sonarlint/securityhotspotstore/7/f/7f962f43c2b25bb766b4ed26760656dddb13369c
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae b/.idea/sonarlint/securityhotspotstore/9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/index.pb b/.idea/sonarlint/securityhotspotstore/index.pb
new file mode 100644
index 0000000..a906228
--- /dev/null
+++ b/.idea/sonarlint/securityhotspotstore/index.pb
@@ -0,0 +1,15 @@
+
+V
+&bonus-ai/src/main/resources/banner.txt,7/f/7f962f43c2b25bb766b4ed26760656dddb13369c
+Y
+)bonus-ai/src/main/resources/bootstrap.yml,1/2/12e8ab2f5a454e91c126a4e1f9940a4580eeb7b8
+W
+'bonus-ai/src/main/resources/logback.xml,2/9/298eea408ade291172a069e5e4713c6ba80a4ad8
+|
+Lbonus-ai/src/main/java/com/bonus/ai/controller/ViolationRecogController.java,3/e/3e57db23edc9384d34d203c005bff14dbd38f227
+x
+Hbonus-ai/src/main/java/com/bonus/ai/controller/ModelTrainController.java,9/e/9eef566e006add08a0e2aa7c1f06936754cd1eae
+y
+Ibonus-ai/src/main/java/com/bonus/ai/controller/FacialRecogController.java,6/d/6dadbe8327a82e774a9e196b410510bb7b8fd346
+v
+Fbonus-ai/src/main/java/com/bonus/ai/controller/OcrRecogController.java,2/c/2c9c3830f02578cd8f87c1d7a32b6943d5cef475
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..6d4b367
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {}
+ {
+ "isMigrated": true
+}
+ {
+ "associatedIndex": 7
+}
+
+
+
+
+
+ {
+ "keyToString": {
+ "ASKED_ADD_EXTERNAL_FILES": "true",
+ "Maven.bonus-auth [package].executor": "Run",
+ "Maven.bonus-common-core [deploy].executor": "Run",
+ "Maven.bonus-common-core [package].executor": "Run",
+ "Maven.bonus-common-log [deploy].executor": "Run",
+ "Maven.bonus-gateway [package].executor": "Run",
+ "Maven.bonus-modules-system [package].executor": "Run",
+ "Maven.bonus-ocr-recognition [compile].executor": "Run",
+ "RequestMappingsPanelOrder0": "0",
+ "RequestMappingsPanelOrder1": "1",
+ "RequestMappingsPanelWidth0": "75",
+ "RequestMappingsPanelWidth1": "75",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "SONARLINT_PRECOMMIT_ANALYSIS": "true",
+ "Spring Boot.BonusAIApplication.executor": "Run",
+ "Spring Boot.BonusAuthApplication.executor": "Debug",
+ "Spring Boot.BonusFileApplication.executor": "Run",
+ "Spring Boot.BonusGatewayApplication.executor": "Run",
+ "Spring Boot.BonusGenApplication.executor": "Debug",
+ "Spring Boot.BonusOssApplication.executor": "Run",
+ "Spring Boot.BonusSystemApplication.executor": "Debug",
+ "git-widget-placeholder": "main",
+ "kotlin-language-version-configured": "true",
+ "last_opened_file_path": "/Users/wangvivi/Desktop/Code/Bonus-AI-cloud/bonus-modules/bonus-ai-modules/src/main/java/com/bonus/ai/controller",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "onboarding.tips.debug.path": "/Users/wangvivi/Desktop/Code/Bonus-AI-cloud/bonus-modules/bonus-large-model/src/main/java/com/bonus/Main.java",
+ "project.structure.last.edited": "Modules",
+ "project.structure.proportion": "0.15",
+ "project.structure.side.proportion": "0.42873564",
+ "run.configurations.included.in.services": "true",
+ "settings.editor.selected.configurable": "vcs.Git",
+ "ts.external.directory.path": "/Applications/IntelliJ IDEA.app/Contents/plugins/javascript-impl/jsLanguageServicesImpl/external",
+ "vue.rearranger.settings.migration": "true"
+ },
+ "keyToStringList": {
+ "DatabaseDriversLRU": [
+ "mysql"
+ ]
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1718264894084
+
+
+ 1718264894084
+
+
+
+
+
+
+
+
+ 1719391923229
+
+
+
+ 1719391923229
+
+
+
+ 1719391940110
+
+
+
+ 1719391940110
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ file://$PROJECT_DIR$/bonus-modules/bonus-large-model/src/main/java/com/bonus/llm/Main.java
+ 13
+
+
+
+ file://$PROJECT_DIR$/bonus-modules/bonus-gen/src/main/java/com/bonus/gen/controller/GenController.java
+ 181
+
+
+
+ file://$PROJECT_DIR$/bonus-common/bonus-common-security/src/main/java/com/bonus/common/security/interceptor/HeaderInterceptor.java
+ 25
+
+
+
+ file://$PROJECT_DIR$/bonus-modules/bonus-system/src/main/java/com/bonus/system/controller/SysConfigController.java
+ 44
+
+
+
+ file://$PROJECT_DIR$/bonus-modules/bonus-system/src/main/java/com/bonus/system/controller/SysConfigController.java
+ 54
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..bd95df1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 若依
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/bonus-ai/pom.xml b/bonus-ai/pom.xml
new file mode 100644
index 0000000..715fd50
--- /dev/null
+++ b/bonus-ai/pom.xml
@@ -0,0 +1,132 @@
+
+
+
+ com.bonus
+ bonus-modules
+ 3.6.4
+
+ 4.0.0
+
+ bonus-modules-ai
+
+
+ bonus-modules-ai服务
+
+
+
+ 3.6.4
+ UTF-8
+ UTF-8
+ 1.8
+ 2.7.18
+ 2021.0.8
+ 2021.0.5.0
+ 5.3.33
+ 2.7.15
+ 3.0.0
+ 1.6.2
+ 1.27.2
+ 2.3.3
+ 2.0.0
+ 1.2.20
+ 4.2.0
+ 2.13.0
+ 2.3
+ 2.0.43
+ 0.9.1
+ 8.2.2
+ 4.1.2
+ 2.14.4
+
+
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-config
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-sentinel
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
+
+
+ com.github.tobato
+ fastdfs-client
+
+
+
+
+ io.minio
+ minio
+ ${minio.version}
+
+
+
+
+ com.aliyun.oss
+ aliyun-sdk-oss
+ 3.5.0
+
+
+
+
+ commons-net
+ commons-net
+ 3.8.0
+
+
+
+
+ com.bonus
+ bonus-api-system
+
+
+
+
+ com.bonus
+ bonus-common-swagger
+
+
+ com.google.code.gson
+ gson
+
+
+
+
+
+ ${project.artifactId}
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ repackage
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/BonusAIApplication.java b/bonus-ai/src/main/java/com/bonus/ai/BonusAIApplication.java
new file mode 100644
index 0000000..321b504
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/BonusAIApplication.java
@@ -0,0 +1,31 @@
+package com.bonus.ai;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+import com.bonus.common.swagger.annotation.EnableCustomSwagger2;
+
+/**
+ * 文件服务
+ *
+ * @author bonus
+ */
+@EnableCustomSwagger2
+@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
+public class BonusAIApplication
+{
+ public static void main(String[] args)
+ {
+ SpringApplication.run(BonusAIApplication.class, args);
+ System.out.println("(♥◠‿◠)ノ゙ 人工智能服务启动成功 ლ(´ڡ`ლ)゙ \n" +
+ " .-------. ____ __ \n" +
+ " | _ _ \\ \\ \\ / / \n" +
+ " | ( ' ) | \\ _. / ' \n" +
+ " |(_ o _) / _( )_ .' \n" +
+ " | (_,_).' __ ___(_ o _)' \n" +
+ " | |\\ \\ | || |(_,_)' \n" +
+ " | | \\ `' /| `-' / \n" +
+ " | | \\ / \\ / \n" +
+ " ''-' `'-' `-..-' ");
+ }
+}
diff --git a/bonus-ai/src/main/java/com/bonus/ai/controller/DeveloperController.java b/bonus-ai/src/main/java/com/bonus/ai/controller/DeveloperController.java
new file mode 100644
index 0000000..36b2dc0
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/controller/DeveloperController.java
@@ -0,0 +1,23 @@
+package com.bonus.ai.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import com.bonus.common.core.domain.R;
+import com.bonus.common.core.utils.file.FileUtils;
+import com.bonus.system.api.domain.SysFile;
+
+/**
+ * 文件请求处理
+ *
+ * @author bonus
+ */
+@RestController
+public class DeveloperController
+{
+ private static final Logger log = LoggerFactory.getLogger(DeveloperController.class);
+
+}
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/controller/FacialRecogController.java b/bonus-ai/src/main/java/com/bonus/ai/controller/FacialRecogController.java
new file mode 100644
index 0000000..dcd5653
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/controller/FacialRecogController.java
@@ -0,0 +1,23 @@
+package com.bonus.ai.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import com.bonus.common.core.domain.R;
+import com.bonus.common.core.utils.file.FileUtils;
+import com.bonus.system.api.domain.SysFile;
+
+/**
+ * 文件请求处理
+ *
+ * @author bonus
+ */
+@RestController
+public class FacialRecogController
+{
+ private static final Logger log = LoggerFactory.getLogger(FacialRecogController.class);
+
+}
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/controller/LLMController.java b/bonus-ai/src/main/java/com/bonus/ai/controller/LLMController.java
new file mode 100644
index 0000000..08ec1d5
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/controller/LLMController.java
@@ -0,0 +1,24 @@
+package com.bonus.ai.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import com.bonus.common.core.domain.R;
+import com.bonus.common.core.utils.file.FileUtils;
+import com.bonus.system.api.domain.SysFile;
+
+/**
+ * 文件请求处理
+ *
+ * @author bonus
+ */
+@RestController
+public class LLMController
+{
+ private static final Logger log = LoggerFactory.getLogger(LLMController.class);
+
+
+}
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/controller/ModelTrainController.java b/bonus-ai/src/main/java/com/bonus/ai/controller/ModelTrainController.java
new file mode 100644
index 0000000..b288ba3
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/controller/ModelTrainController.java
@@ -0,0 +1,23 @@
+package com.bonus.ai.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import com.bonus.common.core.domain.R;
+import com.bonus.common.core.utils.file.FileUtils;
+import com.bonus.system.api.domain.SysFile;
+
+/**
+ * 文件请求处理
+ *
+ * @author bonus
+ */
+@RestController
+public class ModelTrainController
+{
+ private static final Logger log = LoggerFactory.getLogger(ModelTrainController.class);
+
+}
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/controller/OcrRecogController.java b/bonus-ai/src/main/java/com/bonus/ai/controller/OcrRecogController.java
new file mode 100644
index 0000000..16246eb
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/controller/OcrRecogController.java
@@ -0,0 +1,25 @@
+package com.bonus.ai.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import com.bonus.common.core.domain.R;
+import com.bonus.common.core.utils.file.FileUtils;
+import com.bonus.system.api.domain.SysFile;
+
+/**
+ * 文件请求处理
+ *
+ * @author bonus
+ */
+@RestController
+public class OcrRecogController
+{
+ private static final Logger log = LoggerFactory.getLogger(OcrRecogController.class);
+
+ @PostMapping("/uploadFile")
+
+}
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/controller/ViolationRecogController.java b/bonus-ai/src/main/java/com/bonus/ai/controller/ViolationRecogController.java
new file mode 100644
index 0000000..ad49c7b
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/controller/ViolationRecogController.java
@@ -0,0 +1,23 @@
+package com.bonus.ai.controller;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+import com.bonus.common.core.domain.R;
+import com.bonus.common.core.utils.file.FileUtils;
+import com.bonus.system.api.domain.SysFile;
+
+/**
+ * 文件请求处理
+ *
+ * @author bonus
+ */
+@RestController
+public class ViolationRecogController
+{
+ private static final Logger log = LoggerFactory.getLogger(ViolationRecogController.class);
+
+}
\ No newline at end of file
diff --git a/bonus-ai/src/main/java/com/bonus/ai/domain/FaciaInfo.java b/bonus-ai/src/main/java/com/bonus/ai/domain/FaciaInfo.java
new file mode 100644
index 0000000..efde172
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/domain/FaciaInfo.java
@@ -0,0 +1,51 @@
+package com.bonus.ai.domain;
+
+import com.google.gson.annotations.SerializedName;
+
+
+public class FaciaInfo {
+
+ private int code = 2000;
+ private String msg = "json字符串转对象错误";
+ private Data data;
+
+ // 定义内层的 Data 类
+ public static class Data {
+ @SerializedName("name")
+ private String name = "";
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+ }
+
+ // Getters and Setters
+ public int getCode() {
+ return code;
+ }
+
+ public void setCode(int code) {
+ this.code = code;
+ }
+
+ public String getMsg() {
+ return msg;
+ }
+
+ public void setMsg(String msg) {
+ this.msg = msg;
+ }
+
+ public Data getData() {
+ return data;
+ }
+
+ public void setData(Data data) {
+ this.data = data;
+
+ }
+}
diff --git a/bonus-ai/src/main/java/com/bonus/ai/domain/IDCardInfo.java b/bonus-ai/src/main/java/com/bonus/ai/domain/IDCardInfo.java
new file mode 100644
index 0000000..b4a140e
--- /dev/null
+++ b/bonus-ai/src/main/java/com/bonus/ai/domain/IDCardInfo.java
@@ -0,0 +1,129 @@
+package com.bonus.ai.domain;
+
+import com.google.gson.annotations.SerializedName;
+
+
+public class IDCardInfo {
+
+ private int code = 2000;
+ private String msg = "json字符串转对象错误";
+ private Data data;
+
+ // 定义内层的 Data 类
+ public static class Data {
+ @SerializedName("issuingAuthority")
+ private String issuingAuthority = "";
+
+ @SerializedName("validTime")
+ private String validTime = "";
+
+ @SerializedName("name")
+ private String name = "";
+
+ @SerializedName("gender")
+ private String gender = "";
+
+ @SerializedName("ethnicity")
+ private String ethnicity = "";
+
+ @SerializedName("dateOfBirth")
+ private String dateOfBirth = "";
+
+ @SerializedName("address")
+ private String address = "";
+
+ @SerializedName("idNumber")
+ private String idNumber = "";
+
+ // Getters and Setters
+ public String getIssuingAuthority() {
+ return issuingAuthority;
+ }
+
+ public void setIssuingAuthority(String issuingAuthority) {
+ this.issuingAuthority = issuingAuthority;
+ }
+
+ public String getValidTime() {
+ return validTime;
+ }
+
+ public void setValidTime(String validTime) {
+ this.validTime = validTime;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getGender() {
+ return gender;
+ }
+
+ public void setGender(String gender) {
+ this.gender = gender;
+ }
+
+ public String getEthnicity() {
+ return ethnicity;
+ }
+
+ public void setEthnicity(String ethnicity) {
+ this.ethnicity = ethnicity;
+ }
+
+ public String getDateOfBirth() {
+ return dateOfBirth;
+ }
+
+ public void setDateOfBirth(String dateOfBirth) {
+ this.dateOfBirth = dateOfBirth;
+ }
+
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+ public String getIdNumber() {
+ return idNumber;
+ }
+
+ public void setIdNumber(String idNumber) {
+ this.idNumber = idNumber;
+ }
+ }
+
+ // Getters and Setters
+ public int getCode() {
+ return code;
+ }
+
+ public void setCode(int code) {
+ this.code = code;
+ }
+
+ public String getMsg() {
+ return msg;
+ }
+
+ public void setMsg(String msg) {
+ this.msg = msg;
+ }
+
+ public Data getData() {
+ return data;
+ }
+
+ public void setData(Data data) {
+ this.data = data;
+
+ }
+}
diff --git a/bonus-ai/src/main/resources/banner.txt b/bonus-ai/src/main/resources/banner.txt
new file mode 100644
index 0000000..27cacb9
--- /dev/null
+++ b/bonus-ai/src/main/resources/banner.txt
@@ -0,0 +1,10 @@
+Spring Boot Version: ${spring-boot.version}
+Spring Application Name: ${spring.application.name}
+ _ __ _ _
+ (_) / _|(_)| |
+ _ __ _ _ ___ _ _ _ ______ | |_ _ | | ___
+| '__|| | | | / _ \ | | | || ||______|| _|| || | / _ \
+| | | |_| || (_) || |_| || | | | | || || __/
+|_| \__,_| \___/ \__, ||_| |_| |_||_| \___|
+ __/ |
+ |___/
\ No newline at end of file
diff --git a/bonus-ai/src/main/resources/bootstrap.yml b/bonus-ai/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000..bed77c9
--- /dev/null
+++ b/bonus-ai/src/main/resources/bootstrap.yml
@@ -0,0 +1,29 @@
+# Tomcat
+server:
+ port: 18083
+
+# Spring
+spring:
+ application:
+ # 应用名称
+ name: bonus-file
+ profiles:
+ # 环境配置
+ active: dev
+ cloud:
+ nacos:
+ username: nacos
+ password: nacos
+ discovery:
+ # 服务注册地址
+ server-addr: 192.168.0.14:8848
+ namespace: f1fcd3ea-9460-4597-8acd-0f334527017c
+ config:
+ # 配置中心地址
+ server-addr: 192.168.0.14:8848
+ namespace: f1fcd3ea-9460-4597-8acd-0f334527017c
+ # 配置文件格式
+ file-extension: yml
+ # 共享配置
+ shared-configs:
+ - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
diff --git a/bonus-ai/src/main/resources/logback.xml b/bonus-ai/src/main/resources/logback.xml
new file mode 100644
index 0000000..7607fdf
--- /dev/null
+++ b/bonus-ai/src/main/resources/logback.xml
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+ ${log.pattern}
+
+
+
+
+
+ ${log.path}/info.log
+
+
+
+ ${log.path}/info.%d{yyyy-MM-dd}.log
+
+ 60
+
+
+ ${log.pattern}
+
+
+
+ INFO
+
+ ACCEPT
+
+ DENY
+
+
+
+
+ ${log.path}/error.log
+
+
+
+ ${log.path}/error.%d{yyyy-MM-dd}.log
+
+ 60
+
+
+ ${log.pattern}
+
+
+
+ ERROR
+
+ ACCEPT
+
+ DENY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bonus-api/bonus-ai-api-system/src/.DS_Store b/bonus-api/bonus-ai-api-system/src/.DS_Store
deleted file mode 100644
index 7b0d367..0000000
Binary files a/bonus-api/bonus-ai-api-system/src/.DS_Store and /dev/null differ
diff --git a/bonus-api/bonus-ai-api-system/src/main/.DS_Store b/bonus-api/bonus-ai-api-system/src/main/.DS_Store
deleted file mode 100644
index 55c1fcb..0000000
Binary files a/bonus-api/bonus-ai-api-system/src/main/.DS_Store and /dev/null differ
diff --git a/bonus-api/bonus-ai-api-system/src/main/java/.DS_Store b/bonus-api/bonus-ai-api-system/src/main/java/.DS_Store
deleted file mode 100644
index 35a54bf..0000000
Binary files a/bonus-api/bonus-ai-api-system/src/main/java/.DS_Store and /dev/null differ
diff --git a/bonus-api/bonus-ai-api-system/src/main/java/com/.DS_Store b/bonus-api/bonus-ai-api-system/src/main/java/com/.DS_Store
deleted file mode 100644
index 8a20afe..0000000
Binary files a/bonus-api/bonus-ai-api-system/src/main/java/com/.DS_Store and /dev/null differ
diff --git a/bonus-api/bonus-ai-api-system/src/main/java/com/bonus/.DS_Store b/bonus-api/bonus-ai-api-system/src/main/java/com/bonus/.DS_Store
deleted file mode 100644
index c7f175f..0000000
Binary files a/bonus-api/bonus-ai-api-system/src/main/java/com/bonus/.DS_Store and /dev/null differ
diff --git a/bonus-api/bonus-ai-api-system/src/main/java/com/bonus/system/.DS_Store b/bonus-api/bonus-ai-api-system/src/main/java/com/bonus/system/.DS_Store
deleted file mode 100644
index f953888..0000000
Binary files a/bonus-api/bonus-ai-api-system/src/main/java/com/bonus/system/.DS_Store and /dev/null differ
diff --git a/bonus-modules/bonus-ai/src/main/java/.DS_Store b/bonus-modules/bonus-ai/src/main/java/.DS_Store
deleted file mode 100644
index 35a54bf..0000000
Binary files a/bonus-modules/bonus-ai/src/main/java/.DS_Store and /dev/null differ
diff --git a/bonus-modules/bonus-ai/src/main/java/com/.DS_Store b/bonus-modules/bonus-ai/src/main/java/com/.DS_Store
deleted file mode 100644
index 21103a6..0000000
Binary files a/bonus-modules/bonus-ai/src/main/java/com/.DS_Store and /dev/null differ
diff --git a/bonus-modules/bonus-ai/src/main/java/com/bonus/.DS_Store b/bonus-modules/bonus-ai/src/main/java/com/bonus/.DS_Store
deleted file mode 100644
index 6116c7f..0000000
Binary files a/bonus-modules/bonus-ai/src/main/java/com/bonus/.DS_Store and /dev/null differ
diff --git a/bonus-modules/bonus-ai/src/main/java/com/bonus/ai/.DS_Store b/bonus-modules/bonus-ai/src/main/java/com/bonus/ai/.DS_Store
deleted file mode 100644
index 7f882fc..0000000
Binary files a/bonus-modules/bonus-ai/src/main/java/com/bonus/ai/.DS_Store and /dev/null differ