feat(project):add list
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from typing import List
|
||||
from uuid import UUID
|
||||
|
||||
from fastapi import Body
|
||||
@@ -31,6 +32,11 @@ def list_project_design():
|
||||
def list_project_monitor():
|
||||
pass
|
||||
|
||||
@router.get('/list/project', response_model=List[ThisModel], tags=_tag_base)
|
||||
@shrink(repo.list_project)
|
||||
def list_project():
|
||||
pass
|
||||
|
||||
@router.put('/design/sts/{_id}', response_model=ThisModel, tags=_tag_base)
|
||||
@shrink(repo.update_design_sts)
|
||||
def update_design_sts(_id: UUID, coding: UpdateSts = Body(...)):
|
||||
@@ -83,4 +89,10 @@ def fetch_delete(body: TableEngineRequestType = Body(...)):
|
||||
pass
|
||||
|
||||
|
||||
# @router.post('/get_all', tags=_tag_base)
|
||||
# @shrink(repo.get_all)
|
||||
# def get_all():
|
||||
# pass
|
||||
|
||||
|
||||
app.include_router(router)
|
||||
Reference in New Issue
Block a user