代码拉取完成,页面将自动刷新
邮箱静态变量的代码在此提供
public class EmailCommon {
public static final String MY_EMAIL = "@qq.com";
public static final String TO_EMAIL = "@qq.com";
public static final String CC = "@qq.com";
public static final String KEY_SUBJECT = "每日key发送!";
public static final String SERVER_SUBJECT = "系统告警!";
public static final String EMAIL_SEND_SUCCES = "邮件发送成功!!!";
public static final String EMAIL_SEND_ERROR = "邮件发送失败!!!";
public static final String WRITE_FORMS_FAILURE = "写入表单失败,来源于 :";
}
server:
# 端口
port: 8089
servlet:
context-path: /
spring:
minio:
access-key: access-key
secret-key: secret-key
url: http://ip:9000/
application:
name: demo
mvc:
# 解决高版本Swagger异常需要
pathmatch:
matching-strategy: ant_path_matcher
datasource:
druid:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://ip:3306/show_data?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: password
mail:
host: smtp.qq.com
port: 465
username: @qq.com
password: password
default-encoding: UTF-8
properties:
mail:
smtp:
socketFactory:
class: javax.net.ssl.SSLSocketFactory
debug: true
# Mybatis-plus配置
mybatis-plus:
#配置Mapper映射文件
mapper-locations: classpath*:/mapper/*Mapper.xml
# 配置MyBatis数据返回类型别名(默认别名是类名)
type-aliases-package: com.huishao.demo.entity
configuration:
# 自动驼峰命名
map-underscore-to-camel-case: false
logging:
level:
com.szl.yeb.mapper: debug
如有问题需要交流,请联系 2133048524@qq.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。