--- server: # 服务器端口 port: 6688 # 服务器名称 name: 'e家宜业' # 参考 2.1.5 章节 mysql: # 数据库地址 host: '127.0.0.1' # 数据库端口 port: 3306 # 数据库用户名 user: 'root' # 数据库密码 password: '' # 数据库名 database: 'ejyy' redis: # redis 地址 host: '127.0.0.1' # redis 端口 port: 6379 # redis 密码 password: 'root' # 参考 7.1 章节 wechat: # 业主小程序 ump: # 业主小程序 AppID appid: '' # 业主小程序 AppSecret secret: '' # 公众号 # 参考 8 章节 oa: # 公众号 AppID appid: '' # 公众号 AppSecret secret: '' # 公众号 Token token: '' # 公众号 EncodingAESKey key: '' # 微信支付 # 不需要支付功能可以不配置 pay: # 商户id mch_id: '' # 生产环境通知地址,即 api域名 prodHost: '' # 开发环境通知地址 devHost: '' # 支付时效 payExpire: 1800000 # 退款时效 refoundExpire: 1296000000 # 商户支付key key: '' # p12支付证书位置 certPath: '' # 物业员工小程序 pmp: # 物业员工小程序 AppID appid: '' # 物业员工小程序 AppSecret secret: '' # 腾讯地图 # 参考 6 章节 map: # 腾讯地图应用Key key: '' session: # session 名称 key: 'ejyy:session' # session 有效期 maxAge: 1800000 # session 是否签名 signed: false # 小区 community: # 小区认证二维有效期 expire: 30000 # 阿里云 # 参考 4 章节 aliyun: # 阿里云AccessKey accessKeyId: '' # 阿里云Secret accessKeySecret: '' # 对象存储 # 参考 5.4 章节 oss: bucket: '' region: '' host: '' # 各类可以解密加密 crypto: # aes-256-cbc秘钥,32位字符串 key: '' # aes-256-cbc偏移常量,16位字符串 iv: '' # 发信配置(主要接收生产环境异常报警) smtp: # 发信地址 host: '' # 发现端口 port: 465 # 开启ssl加密 secure: true # 发信账号 user: '' # 发信密码 password: '' # 收件人 to: ''