You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pocketcommunityserver/src/main/resources/application.yaml

69 lines
1.1 KiB

#数据库配置
spring:
data:
mongodb:
database: demo
mail:
username:
password:
host: smtp.163.com
properties:
mail:
smtp:
ssl:
enable: true
#邮箱配置
email:
#支持的邮箱类型
support-type:
- name: 网易
suffix: '@163.com'
#邮件标题
subject: 口袋社区
#发送邮箱
from: 15920722180@163.com
#验证码
code:
#长度
length: 6
#管理员激活邮件模版
manager: 欢迎注册口袋社区后台服务,您获取到的验证码是:%s
#用户重置密码邮件模版
user: 重置密码,您获取到的验证码是:%s
#令牌配置
token:
day: 1
#论坛配置
forum:
#帖子正文缩略长度
content-length: 10
#注册配置
register:
#默认信用分
credit-score: 0
#访客配置默认可预约时间
visitor-list:
- '09:00'
- '10:00'
- '11:00'
- '13:00'
- '14:00'
- '15:00'
- '16:00'
- '17:00'
#访客配置
visitor:
#日期格式
dateformat: 'yyyy/MM/dd HH:mm'
#废品回收配置
waste:
#废品回收
manage:
name: admin
mobie: 10086