用户校验

master
guochaojie 4 months ago
parent c3d89507de
commit 11da0766a7

@ -28,8 +28,8 @@ spring:
application: application:
name: nxhs-service name: nxhs-service
profiles: profiles:
# active: 'prod' # active: 'prod'
active: '@environment@' active: '@environment@'
servlet: servlet:
multipart: #文件传输配置 multipart: #文件传输配置
max-file-size: 100MB #单个数据大小限制 max-file-size: 100MB #单个数据大小限制
@ -42,8 +42,8 @@ spring:
instance: instance:
name: ${spring.application.name} name: ${spring.application.name}
service-url: http://localhost:${server.port} service-url: http://localhost:${server.port}
# username: admin # username: admin
# password: admin123 # password: admin123
datasource: datasource:
url: jdbc:mysql://127.0.0.1:3306/nxhs?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://127.0.0.1:3306/nxhs?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@ -53,7 +53,7 @@ spring:
database: 1 #缓存库编号 database: 1 #缓存库编号
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
# password: 123456 # 密码为空时,请将本行注释 # password: 123456 # 密码为空时,请将本行注释
timeout: 3000 #超时时间(单位:秒) timeout: 3000 #超时时间(单位:秒)
lettuce: #Lettuce为Redis的Java驱动包 lettuce: #Lettuce为Redis的Java驱动包
pool: pool:
@ -101,8 +101,8 @@ nxhs:
- /api/demo/** - /api/demo/**
- /api/file/download - /api/file/download
- /api/index/products - /api/index/products
- /api/device/**
- /api/qrcode/**.txt - /api/qrcode/**.txt
- /api/wx/**
- /api/wx-message/** - /api/wx-message/**
- /api/webSocketServer/** - /api/webSocketServer/**
adminKey: 8bd2aa89033ead51c505e44994e42189 # 后台接口访问Key adminKey: 8bd2aa89033ead51c505e44994e42189 # 后台接口访问Key
@ -130,4 +130,19 @@ nxhs:
sendMessageUrl: https://api.weixin.qq.com/cgi-bin/message/subscribe/send #调用消息推送接口地址 sendMessageUrl: https://api.weixin.qq.com/cgi-bin/message/subscribe/send #调用消息推送接口地址
EncodingAESKey: #消息解码秘钥 EncodingAESKey: #消息解码秘钥
# 微信支付 # 微信支付
# keytool -genkeypair -alias nxhs -keyalg RSA -keypass nxhs2024 -keystore nxhs.jks -storepass nxhs2024 # keytool -genkeypair -alias nxhs -keyalg RSA -keypass nxhs2024 -keystore nxhs.jks -storepass nxhs2024
## MQTT##
#mqtt:
# host: tcp://172.30.19.4:1883
# userName: user1
# passWord: 1qazxsw2
# qos: 1
# clientId: nx-app #ClientId_local必须唯一 比如你已经定了叫ABC 那你就一直叫ABC 其他地方就不要使用ABC了
# cleanSession: false
# timeout: 60
# keepAlive: 60
# topics:
# '[testtopic/#]': 1
# '[testTopic/1]': 1

Loading…
Cancel
Save