11 lines
336 B
Python
11 lines
336 B
Python
from app.utils.auth_validator import AuthValidator
|
|
|
|
validator = AuthValidator(software_id="ArticleReplace",
|
|
api_url="http://km.taisan.online/api/v1",
|
|
gui_mode=True
|
|
)
|
|
|
|
# 执行验证
|
|
if not validator.validate():
|
|
print("授权验证失败,程序退出")
|