mirror of
https://github.com/yanguo888/fakabot.git
synced 2026-06-20 12:30:40 +00:00
refactor: reintroduce license modules as no-op compatibility shims
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# 授权检查 - 请勿删除此部分,否则程序无法运行
|
||||
import _auth_check
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
import re
|
||||
@@ -22,10 +19,6 @@ from admin_panel import register_admin_handlers
|
||||
from user_flow import register_user_handlers
|
||||
from utils import ensure_settings_table, get_setting, set_setting
|
||||
|
||||
# ⚠️ 离线授权验证(商业版)
|
||||
from offline_license_checker import init_license_checker
|
||||
init_license_checker()
|
||||
|
||||
# Redis缓存和频率限制
|
||||
try:
|
||||
from redis_cache import cache
|
||||
|
||||
Reference in New Issue
Block a user