Show TRC20 USDT pay address on the license page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-17 20:12:09 +08:00
parent bd14121c02
commit 4fe0df6c6d
4 changed files with 87 additions and 3 deletions
+6 -1
View File
@@ -13,7 +13,10 @@ from lib.license.license_lib import (
get_license_status,
is_license_valid,
redeem_code,
usdt_address,
usdt_network,
validate_license,
wechat_id,
)
_TEMPLATE_PATH = Path(__file__).resolve().parent / "templates" / "license.html"
@@ -137,7 +140,9 @@ def install_license_gate(app: Flask) -> None:
message=msg,
error=err,
api_url=status.get("api_url") or "",
wechat="dekun03",
wechat=wechat_id(),
usdt_address=usdt_address(),
usdt_network=usdt_network(),
)
@app.before_request