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
8bfb38d35b
commit
450380c1cc
@ -21,6 +21,11 @@ def install_app(app_name: Optional[str] = None, app_version: Optional[str] = Non
|
||||
ret = manage.install_app(app_name)
|
||||
return JSONResponse(content=ret)
|
||||
|
||||
@router.get("/process")
|
||||
def install_app_process(app_name: Optional[str] = None):
|
||||
ret = manage.install_app_process(app_name)
|
||||
return JSONResponse(content=ret)
|
||||
|
||||
@router.get("/start")
|
||||
def start_app(app_name: Optional[str] = None):
|
||||
ret = manage.start_app(app_name)
|
||||
|
Loading…
Reference in New Issue
Block a user