diff --git a/appmanage/Dockerfile b/appmanage/Dockerfile index d6cf741e..ef28a3a5 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -10,7 +10,7 @@ COPY static ./static COPY requirements.txt main.py ./ RUN apt update -# Install supervisords +# Install supervisord RUN apt install -y supervisor COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/cmd.sh /cmd.sh diff --git a/appmanage/api/v1/routers/apps.py b/appmanage/api/v1/routers/apps.py index 2daf62a8..329ad3a7 100644 --- a/appmanage/api/v1/routers/apps.py +++ b/appmanage/api/v1/routers/apps.py @@ -403,7 +403,7 @@ def AppStoreUpdate(request: Request): return response @router.api_route("/AppAutoUpdate", methods=["GET", "POST"], summary="软件商店自动更新", response_model=Response, response_description=rd_auto_list) -def AppAutoUpdate(request: Request,auto_update: Optional[bool] = Query(default=False, description="自动更新标志")): +def AppAutoUpdate(request: Request,auto_update: Optional[str] = Query(default=None, description="自动更新标志")): try: myLogger.info_logger("Receive request: /AppAutoUpdate")