处理冲突

This commit is contained in:
zhaoyuhang
2023-07-02 23:43:03 +08:00
parent 3f2ac6a06b
commit d8e2168b40
3 changed files with 41 additions and 24 deletions

View File

@@ -1,28 +1,36 @@
#todo 记得把这些配置信息补充了 #todo ????????????
##################mysql配置################## ##################mysql??##################
mallchat.mysql.ip=127.0.0.1 mallchat.mysql.ip=127.0.0.1
mallchat.mysql.port=3306 mallchat.mysql.port=3306
mallchat.mysql.db=mallchat mallchat.mysql.db=mallchat
mallchat.mysql.username=root mallchat.mysql.username=root
mallchat.mysql.password=123456 mallchat.mysql.password=123456
##################redis配置################## ##################redis??##################
mallchat.redis.host=127.0.0.1 mallchat.redis.host=127.0.0.1
mallchat.redis.port=6379 mallchat.redis.port=6379
mallchat.redis.password=123456 mallchat.redis.password=123456
##################jwt################## ##################jwt##################
mallchat.jwt.secret=dsfsdfsdfsdfsd mallchat.jwt.secret=dsfsdfsdfsdfsd
##################微信公众号信息################## ##################???????##################
mallchat.wx.callback=http://127.0.0.1:8080 mallchat.wx.callback=http://127.0.0.1:8080
mallchat.wx.appId=appid mallchat.wx.appId=appid
mallchat.wx.secret=380bfc1c9147fdsf4sf07 mallchat.wx.secret=380bfc1c9147fdsf4sf07
# 接口配置里的Token # ??????Token?
mallchat.wx.token=sdfsf mallchat.wx.token=sdfsf
# 接口配置里的EncodingAESKey # ??????EncodingAESKey?
mallchat.wx.aesKey=sha1 mallchat.wx.aesKey=sha1
##################OSS配置################## ##################OSS??##################
oss.enabled=true oss.enabled=true
oss.type=minio oss.type=minio
oss.endpoint=http://localhost:9000 oss.endpoint=http://localhost:9000
oss.access-key=BEZ213 oss.access-key=BEZ213
oss.secret-key=Ii4vCMIXuFfds1EZ8e7RXI2342342kV oss.secret-key=Ii4vCMIXuFfds1EZ8e7RXI2342342kV
oss.bucketName=default oss.bucketName=default
##################gpt??##################
mallchat.chatgpt.use=false
mallchat.chatgpt.uid=10001
mallchat.chatgpt.key=sk-wvWM0xGcxFfsddfsgxixbXK5tHovM
mallchat.chatgpt.proxyUrl=https://123.cc
mallchat.chatglm2.use=false
mallchat.chatglm2.url=http://v32134.cc
mallchat.chatglm2.uid=10002

View File

@@ -1,28 +1,36 @@
#todo 记得把这些配置信息补充了 #todo ????????????
##################mysql配置################## ##################mysql??##################
mallchat.mysql.ip=127.0.0.1 mallchat.mysql.ip=127.0.0.1
mallchat.mysql.port=3306 mallchat.mysql.port=3306
mallchat.mysql.db=mallchat mallchat.mysql.db=mallchat
mallchat.mysql.username=root mallchat.mysql.username=root
mallchat.mysql.password=123456 mallchat.mysql.password=123456
##################redis配置################## ##################redis??##################
mallchat.redis.host=127.0.0.1 mallchat.redis.host=127.0.0.1
mallchat.redis.port=6379 mallchat.redis.port=6379
mallchat.redis.password=123456 mallchat.redis.password=123456
##################jwt################## ##################jwt##################
mallchat.jwt.secret=dsfsdfsdfsdfsd mallchat.jwt.secret=dsfsdfsdfsdfsd
##################微信公众号信息################## ##################???????##################
mallchat.wx.callback=http://127.0.0.1:8080 mallchat.wx.callback=http://127.0.0.1:8080
mallchat.wx.appId=appid mallchat.wx.appId=appid
mallchat.wx.secret=380bfc1c9147fdsf4sf07 mallchat.wx.secret=380bfc1c9147fdsf4sf07
# 接口配置里的Token # ??????Token?
mallchat.wx.token=sdfsf mallchat.wx.token=sdfsf
# 接口配置里的EncodingAESKey # ??????EncodingAESKey?
mallchat.wx.aesKey=sha1 mallchat.wx.aesKey=sha1
##################OSS配置################## ##################OSS??##################
oss.enabled=true oss.enabled=true
oss.type=minio oss.type=minio
oss.endpoint=http://localhost:9000 oss.endpoint=http://localhost:9000
oss.access-key=BEZ213 oss.access-key=BEZ213
oss.secret-key=Ii4vCMIXuFe241dsfEZ8e7RXI2342342kV oss.secret-key=Ii4vCMIXuFe241dsfEZ8e7RXI2342342kV
oss.bucketName=default oss.bucketName=default
##################gpt??##################
mallchat.chatgpt.use=false
mallchat.chatgpt.uid=10001
mallchat.chatgpt.key=sk-wvWM0xGcxFfsddfsgxixbXK5tHovM
mallchat.chatgpt.proxyUrl=https://123.cc
mallchat.chatglm2.use=false
mallchat.chatglm2.url=http://v32134.cc
mallchat.chatglm2.uid=10002

View File

@@ -12,7 +12,7 @@ mybatis-plus:
spring: spring:
profiles: profiles:
#运行的环境 #运行的环境
active: test active: my-prod
application: application:
name: mallchat name: mallchat
datasource: datasource:
@@ -37,7 +37,7 @@ spring:
database: 0 database: 0
# 连接超时时间 # 连接超时时间
timeout: 1800000 timeout: 1800000
# # 设置密码 # 设置密码
password: ${mallchat.redis.password} password: ${mallchat.redis.password}
lettuce: lettuce:
pool: pool:
@@ -65,11 +65,12 @@ wx:
aesKey: ${mallchat.wx.aesKey} # 接口配置里的EncodingAESKey值 aesKey: ${mallchat.wx.aesKey} # 接口配置里的EncodingAESKey值
chatai: chatai:
chatgpt: chatgpt:
use: true use: ${mallchat.chatgpt.use}
AIUserId: 10452 AIUserId: ${mallchat.chatgpt.uid}
key: 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 key: ${mallchat.chatgpt.key}
proxyUrl: ${mallchat.chatgpt.proxyUrl}
chatglm2: chatglm2:
use: true use: ${mallchat.chatglm2.use}
url: http://vastmiao.natapp1.cc url: ${mallchat.chatglm2.url}
minute: 3 # 每个用户每3分钟可以请求一次 minute: 3 # 每个用户每3分钟可以请求一次
AIUserId: ${mallchat.chatglm2.uid}