add log msg

This commit is contained in:
lizheming
2019-01-13 21:30:50 +08:00
parent a0ef9d4b26
commit ae91f54be3
+1
View File
@@ -76,6 +76,7 @@ async function exec({ corpid, corp_secret, ...config }) {
const resp = await sendMsgFromWork({ ...config, access_token });
log('send msg success, and http response content is:');
log(resp);
console.log('==Send notification to Wechat success!==');
} catch (e) {
console.error(e);
}