Skip to content

Commit 9ed2a44

Browse files
committed
sync
1 parent b994f5d commit 9ed2a44

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

CONGHUA/chonghua.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ if ($.isNode()) {
7979
//time+msg
8080
async function showmsg(){
8181
if(notifyInterval == 1){
82-
$.log(message)
82+
console.log(msgstyle + '' + tz);
8383
if ($.isNode()){
8484
if ((hour == 12 && minute <= 20) || (hour == 23 && minute >= 40)) {
8585
await notify.sendNotify($.name,tz)
8686
}
8787
}else{
88-
$.log(message)
88+
console.log(msgstyle + '' + tz);
8989
if ((hour == 12 && minute <= 20) || (hour == 23 && minute >= 40)) {
9090
$.msg(msgstyle, '', tz);
9191
}

TXSTOCK/txstockqx.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,20 @@ const notifyInterval = 1; //0为关闭通知,1为所有通知,默认为0
5656

5757
let rndtime = Math.round(new Date().getTime()) //毫秒
5858
let signday = formatDateTime(new Date());
59+
5960
let tz = '';
60-
let cash = $.getval('cash') || 0; //0为不自动提现,1为自动提现1元,5为自动提现1元,
61+
let cash = $.getval('cash') || 0; //0为不自动提现,1为自动提现1元,5为自动提现1元
62+
63+
//time
64+
var hour='';
65+
var minute='';
66+
if ($.isNode()) {
67+
hour = new Date( new Date().getTime() + 8 * 60 * 60 * 1000 ).getHours();
68+
minute = new Date( new Date().getTime() + 8 * 60 * 60 * 1000 ).getMinutes();
69+
}else{
70+
hour = (new Date()).getHours();
71+
minute = (new Date()).getMinutes();
72+
}
6173

6274
const userheaderArr = [];
6375
let userheaderVal = "";

0 commit comments

Comments
 (0)