pull/632/head
Mr Chen 5 months ago
parent 055422bac9
commit a04d24d410
  1. 18
      plugins/tgbot/startup/extend/push_ad.py
  2. 18
      plugins/tgbot/startup/extend/push_notice_msg.py
  3. 4
      web/admin/dashboard/login.py

@ -53,6 +53,22 @@ def send_msg(bot, tag='ad', trigger_time=300):
# 实名认证/过人脸🕵各种账号处理✅ | 30/m| next,12/30 | @nngzs # 实名认证/过人脸🕵各种账号处理✅ | 30/m| next,12/30 | @nngzs
# 桃花资源采集| 13/m| next,1/13 | @xiaolizi1122 # 桃花资源采集| 13/m| next,1/13 | @xiaolizi1122
keyboard = [ keyboard = [
[
types.InlineKeyboardButton(
text="TTKCDN 性价比最高的商业CDN", url='https://t.me/ssdpflood')
],
[
types.InlineKeyboardButton(
text="TTKCDN 过河南郑州/泉州等地区阻断", url='https://t.me/ssdpflood')
],
[
types.InlineKeyboardButton(
text="TTKCDN 私人定制 属于你自己的独立CDN", url='https://t.me/ssdpflood')
],
[
types.InlineKeyboardButton(
text="TTKCDN 全系主动防御 全球威胁情报网", url='https://t.me/ssdpflood')
],
[ [
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="跨链混币器Cce.Cash💰低手续费💰隔断溯源", url='https://cce.cash/#/main/home?MW') text="跨链混币器Cce.Cash💰低手续费💰隔断溯源", url='https://cce.cash/#/main/home?MW')
@ -95,7 +111,7 @@ def send_msg(bot, tag='ad', trigger_time=300):
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="@ME", url='tg://user?id=5568699210'), text="@ME", url='tg://user?id=5568699210'),
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="100RMB/M", url='tg://user?id=5568699210') text="100RMB/M [已满]", url='tg://user?id=5568699210')
] ]
] ]
markup = types.InlineKeyboardMarkup(keyboard) markup = types.InlineKeyboardMarkup(keyboard)

@ -55,13 +55,29 @@ def send_msg(bot, tag='ad', trigger_time=300):
# 信号只在一个周期内执行一次|end # 信号只在一个周期内执行一次|end
# 跨链混币器Cce.Cash💰低手续费💰隔断溯源 | 10/m | next,6/10 | @hu ge # 跨链混币器Cce.Cash💰低手续费💰隔断溯源 | 10/m | next,6/10 | @hu ge
# TTKCDN 无视移动墙/GFW/SNI阻断 TG第一性价比 | 10/m | @ssdpflood # TTKCDN | 10/m | @ssdpflood
# https://t.me/gjgzs2022 | 22/m | @GJ_gzs # https://t.me/gjgzs2022 | 22/m | @GJ_gzs
# https://zhaoziyuan1.cc | web | 15/m | 2m | next,12/15 | @baleite # https://zhaoziyuan1.cc | web | 15/m | 2m | next,12/15 | @baleite
# 综合包网/NG接口开户 | 28/m | 6m | next,4/28 | x # 综合包网/NG接口开户 | 28/m | 6m | next,4/28 | x
# 实名认证/过人脸🕵各种账号处理✅ | 30/m| next,12/30 | @nngzs # 实名认证/过人脸🕵各种账号处理✅ | 30/m| next,12/30 | @nngzs
# 桃花资源采集| 13/m| next,1/13 | @xiaolizi1122 # 桃花资源采集| 13/m| next,1/13 | @xiaolizi1122
keyboard = [ keyboard = [
[
types.InlineKeyboardButton(
text="TTKCDN 性价比最高的商业CDN", url='https://t.me/ssdpflood')
],
[
types.InlineKeyboardButton(
text="TTKCDN 过河南郑州/泉州等地区阻断", url='https://t.me/ssdpflood')
],
[
types.InlineKeyboardButton(
text="TTKCDN 私人定制 属于你自己的独立CDN", url='https://t.me/ssdpflood')
],
[
types.InlineKeyboardButton(
text="TTKCDN 全系主动防御 全球威胁情报网", url='https://t.me/ssdpflood')
],
[ [
types.InlineKeyboardButton( types.InlineKeyboardButton(
text="跨链混币器Cce.Cash💰低手续费💰隔断溯源", url='https://cce.cash/#/main/home?MW') text="跨链混币器Cce.Cash💰低手续费💰隔断溯源", url='https://cce.cash/#/main/home?MW')

@ -159,6 +159,10 @@ def verifyLogin():
# 执行登录操作 # 执行登录操作
@blueprint.route('/do_login', endpoint='do_login', methods=['POST']) @blueprint.route('/do_login', endpoint='do_login', methods=['POST'])
def do_login(): def do_login():
admin_close = thisdb.getOption('admin_close')
if admin_close == 'yes':
return mw.returnData(False, '面板已经关闭!')
username = request.form.get('username', '').strip() username = request.form.get('username', '').strip()
password = request.form.get('password', '').strip() password = request.form.get('password', '').strip()
code = request.form.get('code', '').strip() code = request.form.get('code', '').strip()

Loading…
Cancel
Save