mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 17:10:27 +00:00
auto_update param edit
This commit is contained in:
parent
c67111bdda
commit
ae015876cc
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue