优化播报逻辑
This commit is contained in:
parent
4e8b410537
commit
b9cfc3019e
@ -25,7 +25,7 @@ app.get('/sms', (req, res) => {
|
|||||||
console.log('发信人不是手机号,拒绝处理')
|
console.log('发信人不是手机号,拒绝处理')
|
||||||
return 'pass'
|
return 'pass'
|
||||||
}
|
}
|
||||||
let text = "收到" + title + ",短信内容:" + params.msg
|
let text = "收到一条来自" + phone + "的新短信,短信内容:" + params.msg
|
||||||
// 登录小米账号
|
// 登录小米账号
|
||||||
const miClient = new XiaoAi(user, pwd)
|
const miClient = new XiaoAi(user, pwd)
|
||||||
// 让小爱同学说话
|
// 让小爱同学说话
|
||||||
|
Loading…
Reference in New Issue
Block a user