소스 검색

增加版权描述信息

tycoding 1 년 전
부모
커밋
e838050ce5
100개의 변경된 파일181개의 추가작업 그리고 233개의 파일을 삭제
  1. 1 35
      langchat-app/src/main/java/cn/tycoding/langchat/app/entity/AigcBot.java
  2. 17 1
      langchat-auth/pom.xml
  3. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/AuthAutoConfiguration.java
  4. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/aspect/ApiLogAspect.java
  5. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/aspect/ClientPermAspect.java
  6. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/AuthConfiguration.java
  7. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/TokenConfiguration.java
  8. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/TokenDaoCustomized.java
  9. 6 11
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/TokenDaoRedis.java
  10. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/endpoint/AuthEndpoint.java
  11. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/endpoint/ClientAuthEndpoint.java
  12. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/event/LogEvent.java
  13. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/event/LogListener.java
  14. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/interceptor/AuthInterceptor.java
  15. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/interceptor/CaptchaInterceptor.java
  16. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/AuthListener.java
  17. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/GlobalExceptionTranslator.java
  18. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/PermissionService.java
  19. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/TokenInfo.java
  20. 1 2
      langchat-auth/src/main/java/cn/tycoding/langchat/auth/utils/SysLogUtil.java
  21. 16 0
      langchat-auth/src/main/resources/email/template.html
  22. 16 0
      langchat-biz/pom.xml
  23. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/component/ProviderEnum.java
  24. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/component/ProviderRefreshEvent.java
  25. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/dto/DocsTypeEnum.java
  26. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcConversation.java
  27. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcDocs.java
  28. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcDocsSlice.java
  29. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcExcelCol.java
  30. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcExcelData.java
  31. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcExcelRow.java
  32. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcKnowledge.java
  33. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcMessage.java
  34. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcModel.java
  35. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcOss.java
  36. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcPrompt.java
  37. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcUser.java
  38. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/listener/StructExcelListener.java
  39. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcConversationMapper.java
  40. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcDocsMapper.java
  41. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcDocsSliceMapper.java
  42. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcExcelColMapper.java
  43. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcExcelDataMapper.java
  44. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcExcelRowMapper.java
  45. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcKnowledgeMapper.java
  46. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcMessageMapper.java
  47. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcModelMapper.java
  48. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcOssMapper.java
  49. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcPromptMapper.java
  50. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcUserMapper.java
  51. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcExcelColService.java
  52. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcExcelDataService.java
  53. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcExcelRowService.java
  54. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcKnowledgeService.java
  55. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcMessageService.java
  56. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcModelService.java
  57. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcOssService.java
  58. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcPromptService.java
  59. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcUserService.java
  60. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcExcelColServiceImpl.java
  61. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcExcelDataServiceImpl.java
  62. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcExcelRowServiceImpl.java
  63. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcKnowledgeServiceImpl.java
  64. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcMessageServiceImpl.java
  65. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcModelServiceImpl.java
  66. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcOssServiceImpl.java
  67. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcPromptServiceImpl.java
  68. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcUserServiceImpl.java
  69. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/utils/ClientAuthUtil.java
  70. 1 2
      langchat-biz/src/main/java/cn/tycoding/langchat/biz/utils/ClientStpUtil.java
  71. 16 0
      langchat-client/pom.xml
  72. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientChatEndpoint.java
  73. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientConversationController.java
  74. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientModelController.java
  75. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientOssController.java
  76. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/service/ClientChatService.java
  77. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/service/ClientEmbeddingService.java
  78. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/service/impl/ClientChatServiceImpl.java
  79. 1 2
      langchat-client/src/main/java/cn/tycoding/langchat/client/service/impl/ClientEmbeddingServiceImpl.java
  80. 16 0
      langchat-common/pom.xml
  81. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/CommonAutoConfiguration.java
  82. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/annotation/ApiLog.java
  83. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/annotation/ClientPerm.java
  84. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/component/CorsConfig.java
  85. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/component/JacksonConfiguration.java
  86. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/component/MybatisPlusConfiguration.java
  87. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/component/RedisConfiguration.java
  88. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/component/SpringContextHolder.java
  89. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/constant/AuthConst.java
  90. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/constant/CacheConst.java
  91. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/constant/CommonConst.java
  92. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/constant/RoleEnum.java
  93. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/ChatReq.java
  94. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/ChatRes.java
  95. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/EmbeddingR.java
  96. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/ImageR.java
  97. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/OssR.java
  98. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/PromptConst.java
  99. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/dto/TextR.java
  100. 1 2
      langchat-common/src/main/java/cn/tycoding/langchat/common/exception/AuthException.java

+ 1 - 35
langchat-app/src/main/java/cn/tycoding/langchat/app/entity/AigcBot.java

@@ -1,40 +1,6 @@
-/*
- * Project: LangChat
- * Author: TyCoding
- *
- * Licensed under the GNU Affero General Public License, Version 3 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.gnu.org/licenses/agpl-3.0.html
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- * Project: LangChat
- * Author: TyCoding
- *
- * Licensed under the GNU Affero General Public License, Version 3 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.gnu.org/licenses/agpl-3.0.html
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 17 - 1
langchat-auth/pom.xml

@@ -1,5 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<!--
+  ~ Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
+  ~
+  ~ Licensed under the GNU Affero General Public License, Version 3 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     https://www.gnu.org/licenses/agpl-3.0.html
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/AuthAutoConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/aspect/ApiLogAspect.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/aspect/ClientPermAspect.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/AuthConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/TokenConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/TokenDaoCustomized.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 6 - 11
langchat-auth/src/main/java/cn/tycoding/langchat/auth/config/TokenDaoRedis.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.
@@ -66,12 +65,6 @@ public class TokenDaoRedis implements SaTokenDao {
     public static final DateTimeFormatter TIME_FORMATTER = DateTimeFormatter.ofPattern(TIME_PATTERN);
 
     private static final String prefix = CacheConst.AUTH_PREFIX;
-
-    private static String sub(String key) {
-        int index = StrUtil.ordinalIndexOf(key, ":", 2);
-        return prefix + StrUtil.subSuf(key, index + 1);
-    }
-
     /**
      * ObjectMapper 对象 (以 public 作用域暴露出此对象,方便开发者二次更改配置)
      *
@@ -83,22 +76,24 @@ public class TokenDaoRedis implements SaTokenDao {
      * </p>
      */
     public ObjectMapper objectMapper;
-
     /**
      * String 读写专用
      */
     public StringRedisTemplate stringRedisTemplate;
-
     /**
      * Object 读写专用
      */
     public RedisTemplate<String, Object> objectRedisTemplate;
-
     /**
      * 标记:是否已初始化成功
      */
     public boolean isInit;
 
+    private static String sub(String key) {
+        int index = StrUtil.ordinalIndexOf(key, ":", 2);
+        return prefix + StrUtil.subSuf(key, index + 1);
+    }
+
     @Autowired
     public void init(RedisConnectionFactory connectionFactory) {
         // 如果已经初始化成功了,就立刻退出,不重复初始化

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/endpoint/AuthEndpoint.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/endpoint/ClientAuthEndpoint.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/event/LogEvent.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/event/LogListener.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/interceptor/AuthInterceptor.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/interceptor/CaptchaInterceptor.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/AuthListener.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/GlobalExceptionTranslator.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/PermissionService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/service/TokenInfo.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-auth/src/main/java/cn/tycoding/langchat/auth/utils/SysLogUtil.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 16 - 0
langchat-auth/src/main/resources/email/template.html

@@ -1,3 +1,19 @@
+<!--
+  ~ Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
+  ~
+  ~ Licensed under the GNU Affero General Public License, Version 3 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     https://www.gnu.org/licenses/agpl-3.0.html
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <!--
   ~ Project: LangChat
   ~ Author: TyCoding

+ 16 - 0
langchat-biz/pom.xml

@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
+  ~
+  ~ Licensed under the GNU Affero General Public License, Version 3 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     https://www.gnu.org/licenses/agpl-3.0.html
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/component/ProviderEnum.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/component/ProviderRefreshEvent.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/dto/DocsTypeEnum.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcConversation.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcDocs.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcDocsSlice.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcExcelCol.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcExcelData.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcExcelRow.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcKnowledge.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcMessage.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcModel.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcOss.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcPrompt.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/entity/AigcUser.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/listener/StructExcelListener.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcConversationMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcDocsMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcDocsSliceMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcExcelColMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcExcelDataMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcExcelRowMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcKnowledgeMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcMessageMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcModelMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcOssMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcPromptMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/mapper/AigcUserMapper.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcExcelColService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcExcelDataService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcExcelRowService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcKnowledgeService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcMessageService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcModelService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcOssService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcPromptService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/AigcUserService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcExcelColServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcExcelDataServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcExcelRowServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcKnowledgeServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcMessageServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcModelServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcOssServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcPromptServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/service/impl/AigcUserServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/utils/ClientAuthUtil.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-biz/src/main/java/cn/tycoding/langchat/biz/utils/ClientStpUtil.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 16 - 0
langchat-client/pom.xml

@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
+  ~
+  ~ Licensed under the GNU Affero General Public License, Version 3 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     https://www.gnu.org/licenses/agpl-3.0.html
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientChatEndpoint.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientConversationController.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientModelController.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/controller/ClientOssController.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/service/ClientChatService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/service/ClientEmbeddingService.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/service/impl/ClientChatServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-client/src/main/java/cn/tycoding/langchat/client/service/impl/ClientEmbeddingServiceImpl.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 16 - 0
langchat-common/pom.xml

@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
+  ~
+  ~ Licensed under the GNU Affero General Public License, Version 3 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     https://www.gnu.org/licenses/agpl-3.0.html
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/CommonAutoConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/annotation/ApiLog.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/annotation/ClientPerm.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/component/CorsConfig.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/component/JacksonConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/component/MybatisPlusConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/component/RedisConfiguration.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/component/SpringContextHolder.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/constant/AuthConst.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/constant/CacheConst.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/constant/CommonConst.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/constant/RoleEnum.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/ChatReq.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/ChatRes.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/EmbeddingR.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/ImageR.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/OssR.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/PromptConst.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/dto/TextR.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

+ 1 - 2
langchat-common/src/main/java/cn/tycoding/langchat/common/exception/AuthException.java

@@ -1,6 +1,5 @@
 /*
- * Project: LangChat
- * Author: TyCoding
+ * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  *
  * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  * you may not use this file except in compliance with the License.

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.