File tree Expand file tree Collapse file tree
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515package apijson ;
1616
1717import com .alibaba .fastjson2 .annotation .JSONField ;
18- import com .google .gson .Gson ;
19- import com .google .gson .GsonBuilder ;
2018import com .google .gson .annotations .Expose ;
2119
2220import java .io .*;
2927import java .util .*;
3028import java .util .Base64 ;
3129
32- // 添加 JSONObject 支持
3330import com .alibaba .fastjson2 .JSONObject ;
3431import com .alibaba .fastjson2 .JSONArray ;
3532
33+ /**Computer Vision AI 数据集工具类,详情见:https://github.com/TommyLemon/CVAuto
34+ * @author Lemon
35+ */
3636public class DatasetUtil {
3737
3838 public static void main (String [] args ) {
Original file line number Diff line number Diff line change 5353
5454import java .util .Map ;
5555
56- /**
57- * CV AI 图片预测指标报告生成器 (功能增强最终版)
56+ /** CV AI 图片预测指标报告生成器 (功能增强最终版),详情见:https://github.com/TommyLemon/CVAuto
5857 * - 新增 "核对" 列
5958 * - 新增 最小、平均、中位、最大 统计
6059 * - 总览区域与详情数据全公式联动
60+ * @author Lemon
6161 */
6262public class ExcelUtil {
6363
Original file line number Diff line number Diff line change 1+ /*Copyright ©2025 APIJSON(https://github.com/APIJSON)
2+
3+ Licensed under the Apache License, Version 2.0 (the "License");
4+ you may not use this file except in compliance with the License.
5+ You may obtain a copy of the License at
6+
7+ http://www.apache.org/licenses/LICENSE-2.0
8+
9+ Unless required by applicable law or agreed to in writing, software
10+ distributed under the License is distributed on an "AS IS" BASIS,
11+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ See the License for the specific language governing permissions and
13+ limitations under the License.*/
14+
115package apijson .boot ;
216
317import jakarta .servlet .FilterChain ;
1024
1125import java .io .IOException ;
1226
27+ /**请求头去重,解决 header 和 x-header 都传时请求解析报错
28+ * @author Lemon
29+ */
1330@ Component
1431public class RepeatHeaderFilter extends OncePerRequestFilter {
1532
You can’t perform that action at this time.
0 commit comments