Skip to content

Commit ddb5e02

Browse files
authored
Merge pull request #927 from midoks/dev
常规更新
2 parents 37d5ce7 + 75610a4 commit ddb5e02

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

plugins/tgbot/startup/extend/push_notice_msg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def send_msg(bot, tag='ad', trigger_time=300):
6969
],
7070
[
7171
types.InlineKeyboardButton(
72-
text="实名认证/过人脸🕵️‍♀️各种账号处理✅", url='https://t.me/niuniu234')
72+
text="实名认证/过人脸🕵️‍♀️各种账号处理✅", url='https://t.me/zhanzhangyewu')
7373
],
7474
[
7575
types.InlineKeyboardButton(

web/static/app/crontab.js

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@ function getLogs(id){
4141
title:"任务执行日志",
4242
area: ['60%','500px'],
4343
shadeClose:false,
44-
btn:["清空","关闭"],
44+
btn:['清空', "关闭", '刷新', '关闭自动刷新', '开启自动刷新'],
4545
closeBtn:1,
4646
end: function(){
47-
if (reqTimer){
48-
clearInterval(reqTimer);
49-
}
47+
5048
},
5149
content:'<div class="setchmod bt-form" style="padding:5px;">'
5250
+'<pre id="crontab_log" style="overflow: auto; border: 0px none; line-height:23px;padding: 5px; margin: 0px; white-space: pre-wrap; height: 395px; background-color: rgb(51,51,51);color:#f1f1f1;border-radius:0px;font-family:"></pre>'
@@ -57,16 +55,26 @@ function getLogs(id){
5755
+'</div>',
5856
success:function(index,layer_index){
5957
requestLogs(layer_index);
60-
reqTimer = setInterval(function(){
61-
requestLogs(layer_index);
62-
},3000);
6358
},
64-
65-
yes:function(index){
59+
yes:function(index,layer_index){
6660
clearInterval(reqTimer);
6761
closeLogs(id);
6862
layer.close(index);
6963
},
64+
btn3:function(index,layer_index){
65+
requestLogs(layer_index);
66+
return false;
67+
},
68+
btn4:function(index,layer_index){
69+
clearInterval(reqTimer);
70+
return false;
71+
},
72+
btn5:function(index,layer_index){
73+
reqTimer = setInterval(function(){
74+
requestLogs(layer_index);
75+
},3000);
76+
return false;
77+
}
7078
});
7179
}
7280

0 commit comments

Comments
 (0)