初始化git 基础代码

This commit is contained in:
bao
2026-01-14 08:37:21 +08:00
commit e52b622a52
295 changed files with 18426 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
"groups": [
{
"name": "aliyun",
"type": "com.heima.common.aliyun.GreenImageScan",
"sourceType": "com.heima.common.aliyun.GreenImageScan"
},
{
"name": "aliyun",
"type": "com.heima.common.aliyun.GreenTextScan",
"sourceType": "com.heima.common.aliyun.GreenTextScan"
},
{
"name": "tess4j",
"type": "com.heima.common.tess4j.Tess4jClient",
"sourceType": "com.heima.common.tess4j.Tess4jClient"
}
],
"properties": [
{
"name": "aliyun.access-key-id",
"type": "java.lang.String",
"sourceType": "com.heima.common.aliyun.GreenImageScan"
},
{
"name": "aliyun.access-key-id",
"type": "java.lang.String",
"sourceType": "com.heima.common.aliyun.GreenTextScan"
},
{
"name": "aliyun.scenes",
"type": "java.lang.String",
"sourceType": "com.heima.common.aliyun.GreenImageScan"
},
{
"name": "aliyun.secret",
"type": "java.lang.String",
"sourceType": "com.heima.common.aliyun.GreenImageScan"
},
{
"name": "aliyun.secret",
"type": "java.lang.String",
"sourceType": "com.heima.common.aliyun.GreenTextScan"
},
{
"name": "tess4j.data-path",
"type": "java.lang.String",
"sourceType": "com.heima.common.tess4j.Tess4jClient"
},
{
"name": "tess4j.language",
"type": "java.lang.String",
"sourceType": "com.heima.common.tess4j.Tess4jClient"
}
],
"hints": []
}

View File

@@ -0,0 +1,8 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.heima.common.exception.ExceptionCatch,\
com.heima.common.swagger.SwaggerConfiguration,\
com.heima.common.swagger.Swagger2Configuration,\
com.heima.common.aliyun.GreenTextScan,\
com.heima.common.aliyun.GreenImageScan,\
com.heima.common.tess4j.Tess4jClient,\
com.heima.common.redis.CacheService

View File

@@ -0,0 +1,37 @@
# 全局端口定义(原注释保留,注意格式)
server:
tomcat:
uri-encoding: utf-8
# 全局字符集设置
servlet:
encoding:
enabled: true
charset: utf-8
force: true
spring:
aop:
proxy-target-class: true
# 阿里云配置MinIO配置移到这里面
aliyun:
oss:
access-key-id: LTAI5tKo9TpWH1aW6JxWm1Gp
access-key-secret: LHk9DdHECKCwIdaIM9fkGgEuowt18W
bucket-name: heimato
accessKeyId: LTAI5tPk15RZDncsVQsFJgrw
secret: auoKUFsghimbfVQHpy7gtRyBkoR4vc
scenes: antispam
minio-access-key: minio # 对应代码中的 minioAccessKey
minio-secret-key: minio123 # 对应代码中的 minioSecretKey
minio-bucket: leadnews # 对应代码中的 minioBucket
minio-endpoint: http://192.168.200.130:9000 # 对应代码中的 minioEndpoint
# 百度配置(保持不变)
baidu:
api:
api-key: "XbdpAmrvjbzxN74JUWNu3Nqh"
secret-key: "ibcgo1ejyMKWa6XDtEmVCSJuFbgb2TKZ"
appid: "119983858"