0717c09721
改动:新增厂商推送配置、设备 push_vendor/push_token 字段、device push-test 接口、心跳超时厂商直推发送逻辑和对应测试。 验证:python -m pytest tests/test_device_push.py tests/test_auth.py tests/test_health.py 通过。 --------- Co-authored-by: guke <guke@wonderable.ai> Co-authored-by: 左辰勇 <exinglang@gmail.com> Co-authored-by: lowmaster-chen <1119780489@qq.com> Reviewed-on: #118 Co-authored-by: Ghost <> Co-committed-by: Ghost <>
14 lines
597 B
Batchfile
14 lines
597 B
Batchfile
@echo off
|
|
REM Show all device_id + push regIds (push_token / registration_id) from the
|
|
REM local SQLite DB. Double-click this file to see everything, or run from a
|
|
REM console. Optional substring filter: show_device_regids.bat xiaomi
|
|
REM Works from ANY directory (locates project root + venv python by itself).
|
|
REM ASCII-only comments: cmd parses .bat in the console codepage (GBK); UTF-8
|
|
REM Chinese here gets mangled into bogus commands.
|
|
cd /d "%~dp0.."
|
|
set "PY=python"
|
|
if exist ".venv\Scripts\python.exe" set "PY=.venv\Scripts\python.exe"
|
|
"%PY%" "scripts\show_device_regids.py" %*
|
|
echo.
|
|
pause
|