feat(t221): add exact-order erp connector

This commit is contained in:
QiuSW
2026-07-28 22:52:52 +08:00
parent 305dd9f513
commit c524e734fb
16 changed files with 1599 additions and 14 deletions
+26
View File
@@ -0,0 +1,26 @@
@echo off
setlocal
if "%SHUNYUNBAO_USERNAME%"=="" (
echo Missing SHUNYUNBAO_USERNAME.
exit /b 1
)
if "%SHUNYUNBAO_PASSWORD%"=="" (
echo Missing SHUNYUNBAO_PASSWORD.
exit /b 1
)
if "%SHUNYUNBAO_SERVICE_API_KEY%"=="" (
echo Missing SHUNYUNBAO_SERVICE_API_KEY.
exit /b 1
)
set "CONNECTOR_ROOT=%~dp0..\erp-connector"
pushd "%CONNECTOR_ROOT%" || exit /b 1
python -m uvicorn shunyunbaoerp.api:app ^
--app-dir src ^
--host 127.0.0.1 ^
--port 8091 ^
--no-access-log
set "EXIT_CODE=%ERRORLEVEL%"
popd
exit /b %EXIT_CODE%