mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update apps.py
This commit is contained in:
parent
fadb0820b5
commit
7a38c826c4
@ -179,9 +179,7 @@ def AppRestart(request: Request,app_id: Optional[str] = Query(default=None, desc
|
|||||||
|
|
||||||
@router.api_route("/AppUninstall", methods=["GET", "POST"], summary="卸载APP", response_description=rd_two,
|
@router.api_route("/AppUninstall", methods=["GET", "POST"], summary="卸载APP", response_description=rd_two,
|
||||||
response_model=Response)
|
response_model=Response)
|
||||||
def AppUninstall(request: Request, app_id: Optional[str] = Query(default=None, description="应用ID"),
|
def AppUninstall(request: Request, app_id: Optional[str] = Query(default=None, description="应用ID")):
|
||||||
delete_image: bool = Query(default=False, description="是否删除镜像"),
|
|
||||||
delete_data: bool = Query(default=True, description='是否删除所有数据')):
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
myLogger.info_logger("Receive request: /AppUninstall")
|
myLogger.info_logger("Receive request: /AppUninstall")
|
||||||
|
Loading…
Reference in New Issue
Block a user