26 lines
631 B
Batchfile
26 lines
631 B
Batchfile
@echo off
|
|
setlocal EnableExtensions
|
|
cd /d "%~dp0"
|
|
|
|
if not exist ".venv\Scripts\python.exe" (
|
|
echo [Error] 未找到 backend\.venv,请先运行 install.bat
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
set "ACCOUNT_ID=1"
|
|
set "CONV_ID=0:1:869032150442612:2461179734661520"
|
|
set "ITEM_ID=7636216221181053883"
|
|
|
|
if not "%~1"=="" set "ACCOUNT_ID=%~1"
|
|
if not "%~2"=="" set "CONV_ID=%~2"
|
|
if not "%~3"=="" set "ITEM_ID=%~3"
|
|
|
|
echo [Send] account=%ACCOUNT_ID% conv=%CONV_ID% item=%ITEM_ID%
|
|
call .venv\Scripts\python.exe send_interaction_like_heart.py ^
|
|
--account-id %ACCOUNT_ID% ^
|
|
--conversation-id "%CONV_ID%" ^
|
|
--item-id %ITEM_ID%
|
|
|
|
if errorlevel 1 pause
|