Commit 59a76c93 authored by 郝聪敏's avatar 郝聪敏

修改测试域名

parent 932b2396
......@@ -467,7 +467,7 @@ class HomeService extends Service {
}
}
async sendMail(mails) {
async sendMail(mails = []) {
const { ctx, service } = this;
const result = [];
const browserConfig = {
......@@ -478,6 +478,7 @@ class HomeService extends Service {
height: 1000,
},
};
if (!mails.length) return result;
let cookie = fs.readFileSync(path.join(__dirname, cookiePath)).toString();
try {
const browser = await puppeteer.launch(browserConfig);
......
......@@ -59,7 +59,7 @@ module.exports = appInfo => {
},
},
legal: {
host: 'http://192.168.28.66:20585',
host: 'https://adanos-fe.liangkebang.net',
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment