chore: auto release commit (2026-09-15 10:19:55)
All checks were successful
技能自动化发布 / release (push) Successful in 18s
All checks were successful
技能自动化发布 / release (push) Successful in 18s
This commit is contained in:
@@ -70,9 +70,9 @@ async def _start_browser(profile_dir: str, headless: bool = False) -> tuple[Any,
|
||||
|
||||
|
||||
@rpa_step("登录 sandbox 门户")
|
||||
async def _login_sandbox_portal(page: Any, phone: str, password: str) -> bool:
|
||||
"""登录 sandbox.jc2009.com 门户。"""
|
||||
return await login_sandbox(page, phone, password)
|
||||
async def _login_sandbox_portal(page: Any) -> bool:
|
||||
"""登录 sandbox.jc2009.com 门户(人工输入)。"""
|
||||
return await login_sandbox(page)
|
||||
|
||||
|
||||
@rpa_step("进入智慧校园")
|
||||
@@ -152,7 +152,7 @@ async def run_invoice_rpa(
|
||||
pw, context, page = await _start_browser(profile_dir, headless)
|
||||
|
||||
# 步骤 2:登录 sandbox 门户
|
||||
sandbox_ok = await _login_sandbox_portal(page, username, password)
|
||||
sandbox_ok = await _login_sandbox_portal(page)
|
||||
if not sandbox_ok:
|
||||
return InvoiceRpaResult(
|
||||
success=False,
|
||||
|
||||
Reference in New Issue
Block a user