修复 ruff lint:移除未使用的变量

This commit is contained in:
2569718930@qq.com
2026-05-19 18:34:37 +08:00
parent 82d60cf05f
commit f4949212d8
-2
View File
@@ -1925,8 +1925,6 @@ class PaymentContractCheckoutService:
current_subscription = row
break
if isinstance(current_subscription, dict):
current_plan_code = str(current_subscription.get("plan_code") or "").strip().lower()
current_source = str(current_subscription.get("source") or "").strip().lower()
try:
latest_exp = datetime.fromisoformat(
str(current_subscription.get("expires_at") or "").replace("Z", "+00:00")