mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
Javascript 和 Python 增加内置函数 QLAPI.notify
This commit is contained in:
+2
-4
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user