module.exports = { BaseUrl: 'http://www.xbiquge.la', BookUrl: '/15/15409/index.html', ApiStatusCode: { success: { status: 200, data: null }, errors: { status: 404, data: [] } }, MysqlConfig: { connectionLimit : 10, host : 'localhost', user : 'root', password : 'lb714500', database : 'chongzi' }, Sql: { index: { insert: "INSERT chongzi_text (text_title, text_url) VALUES (?,?)", select: "SELECT * FROM chongzi_text" } }, mailOption: { send: { // 服务器地址 host: 'smtp.163.com', // 使用了内置传输发送邮件 查看支持列表:https://nodemailer.com/smtp/well-known/ service: '163', // SMTP 端口 port: 465, // 使用SSL secureConnection: true, auth: { user: 'lb2271608011@163.com', // 这里密码不是qq密码,是smtp授权码 pass: 'lb714500', } }, accept: { // "发件人名称" <发件人邮箱> from: '"小说更新程序" ', // 接收人邮箱 to: '2271608011@qq.com', // 邮件标题 subject: null, // 发送text或者html格式 // text: 'Hello world?', html: null // html body } } }