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

90 lines
1.6 KiB

spring:
#数据库配置
data:
mongodb:
database: demo
mail:
username:
password:
host: smtp.163.com
properties:
mail:
smtp:
ssl:
enable: true
#国际化配置
messages:
basename: static/i18n/messages #相对路径 开头请勿添加斜杠
#静态资源目录
mvc:
static-path-pattern: /image/**
resources:
static-locations: classpath:/resources/static/image
servlet:
multipart:
max-file-size: 100MB
#邮箱配置
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: 30
credit-score-tip: 注册默认奖励%d分
#访客配置默认可预约时间
visitor-list:
- '09:00'
- '10:00'
- '11:00'
- '13:00'
- '14:00'
- '15:00'
- '16:00'
- '17:00'
#分页配置
page-size: 10
#访客配置
visitor:
#日期格式
dateformat: 'yyyy/MM/dd HH:mm'
#客户端分页配置
page-size: 20
#废品回收配置
waste:
#废品回收
manage:
name: admin
mobie: 10086
#跨域配置
cros:
allow-origin: 'http://localhost:4200'