From fe9b749154e5ae6429bdb2909e8bdcddc35c40f3 Mon Sep 17 00:00:00 2001 From: guke Date: Mon, 13 Jul 2026 15:10:22 +0800 Subject: [PATCH] =?UTF-8?q?style(auth):=20=E5=BE=AE=E4=BF=A1=E7=99=BB?= =?UTF-8?q?=E5=BD=95=20import=20=E5=8E=BB=E5=89=8D=E5=90=91=E6=9C=AA?= =?UTF-8?q?=E7=94=A8=20+=20isort=20=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- app/api/v1/auth.py | 3 +-- tests/test_wechat_login.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/api/v1/auth.py b/app/api/v1/auth.py index 637cc44..f60d5bb 100644 --- a/app/api/v1/auth.py +++ b/app/api/v1/auth.py @@ -20,13 +20,12 @@ from app.core.ratelimit import enforce_rate_limit from app.core.security import ( TokenError, create_bind_ticket, - decode_bind_ticket, decode_token, issue_token_pair, ) +from app.integrations import wxpay from app.integrations.jiguang import JiguangError, mask_phone, verify_and_get_phone from app.integrations.sms import SmsError, send_code, verify_code -from app.integrations import wxpay from app.repositories import onboarding as onboarding_repo from app.repositories import user as user_repo from app.schemas.auth import ( diff --git a/tests/test_wechat_login.py b/tests/test_wechat_login.py index 80effb5..44b4868 100644 --- a/tests/test_wechat_login.py +++ b/tests/test_wechat_login.py @@ -8,7 +8,6 @@ from __future__ import annotations import pytest -from app.api.v1 import auth from app.core import security from app.integrations import wxpay