Javascript 和 Python 增加内置函数 QLAPI.notify

This commit is contained in:
whyour
2024-07-21 01:15:16 +08:00
parent 1b39d3ab48
commit eb5cc3943d
8 changed files with 42 additions and 15 deletions
+2 -4
View File
@@ -4,8 +4,6 @@
* 定时规则
* cron: 1 9 * * *
*/
const { sendNotify } = require('./sendNotify.js'); // commonjs
// import { sendNotify } from './sendNotify'; // es6
console.log('test scripts');
sendNotify('test scripts', 'test desc');
QLAPI.notify('test scripts', 'test desc');
console.log('test desc');