This commit is contained in:
Mr Chen
2024-01-01 19:26:19 +08:00
parent e2784d2d55
commit 97e2d131b4
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import requests
class vip_api:
api_url = 'https://wo.midoks.me/api/wp-json/vip'
api_url = 'https://wo.midoks.icu/api/wp-json/vip'
def __init__(self):
pass
+1 -1
View File
@@ -20,7 +20,7 @@
# http://localhost/?code=M.C106_BAY.2.3e12c859-6107-0c5b-9ef4-14b3fb8269ba&state=JzHdzHXmA7x6zl7Be6cJ6uOlf9Bg69
# python3 /www/mdserver-web/plugins/gdrive/index.py site bbs.midoks.me 3
# python3 /www/mdserver-web/plugins/gdrive/index.py site bbs.midoks.icu 3
# python3 /www/mdserver-web/plugins/gdrive/index.py database t1 3
# python3 /www/server/mdserver-web/plugins/msonedrive/index.py path
# /Users/midoks/Desktop/dev/python 3
+5 -5
View File
@@ -47,7 +47,7 @@ def searchHttpPage(kw='', p=1, size=1):
kw = kw.strip()
kw = urllib.parse.quote_plus(kw)
api = 'https://bbs.midoks.me/plugin.php?id=external_api&f=bbs_search&q=' + kw + \
api = 'https://bbs.midoks.icu/plugin.php?id=external_api&f=bbs_search&q=' + kw + \
'&size=' + str(size) + '&p=' + str(p)
# print('url', api)
@@ -63,7 +63,7 @@ def searchHttpPage(kw='', p=1, size=1):
tmp = {}
tmp['tid'] = x['tid']
tmp['subject'] = x['subject']
tmp['url'] = 'https://bbs.midoks.me/thread-' + \
tmp['url'] = 'https://bbs.midoks.icu/thread-' + \
x['tid'] + '-1-1.html'
r.append(tmp)
data['data']['list'] = r
@@ -99,9 +99,9 @@ def searchFaq(bot, message, cmd_text):
keyboard = [
[
types.InlineKeyboardButton(
text="论坛", url='https://bbs.midoks.me'),
text="论坛", url='https://bbs.midoks.icu'),
types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php')
text="搜索", url='https://bbs.midoks.icu/search.php')
],
[
types.InlineKeyboardButton(
@@ -111,7 +111,7 @@ def searchFaq(bot, message, cmd_text):
]
markup = types.InlineKeyboardMarkup(keyboard)
bot.send_message(
message.chat.id, "未找到合适内容,请在官方论坛[bbs.midoks.me]提问!", reply_markup=markup)
message.chat.id, "未找到合适内容,请在官方论坛[bbs.midoks.icu]提问!", reply_markup=markup)
return True
@@ -141,9 +141,9 @@ def tgSearchMusic_t(cmd_text):
keyboard = [
[
types.InlineKeyboardButton(
text="论坛", url='https://bbs.midoks.me'),
text="论坛", url='https://bbs.midoks.icu'),
types.InlineKeyboardButton(
text="搜索", url='https://bbs.midoks.me/search.php')
text="搜索", url='https://bbs.midoks.icu/search.php')
],
[
types.InlineKeyboardButton(
@@ -153,7 +153,7 @@ def tgSearchMusic_t(cmd_text):
]
markup = types.InlineKeyboardMarkup(keyboard)
bot.send_message(
message.chat.id, "未找到合适内容,请在官方论坛[bbs.midoks.me]提问!", reply_markup=markup)
message.chat.id, "未找到合适内容,请在官方论坛[bbs.midoks.icu]提问!", reply_markup=markup)
return True
+1 -1
View File
@@ -99,7 +99,7 @@
<a class="btlink" target="_blank" style="margin-left:5px;" href="//github.com/midoks/mdserver-web/wiki">WIKI</a><span style="margin-left:5px;">/</span>
<a class='btlink panel_ad_list_mode' style="margin-left:5px;">AD</a>
<span style="margin-left:5px;">/</span>
<a class='btlink' target="_blank" href="https://bbs.midoks.me" style="margin-left:5px;">交流论坛</a>
<a class='btlink' target="_blank" href="https://bbs.midoks.icu" style="margin-left:5px;">交流论坛</a>
<span style="margin-left:5px;">/</span>
<a class='btlink' target="_blank" href="https://t.me/mdserver_web" style="margin-left:5px;">TG吹水群</a>
</div>