소스 검색

241223-2代码。

baoyubo 6 달 전
부모
커밋
e51a389f1c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      routers/prod_api/system/dic/__init__.py

+ 1 - 1
routers/prod_api/system/dic/__init__.py

@@ -236,7 +236,7 @@ async def updata_dict_type(
         if str(e)=='':
             e=detail
         raise HTTPException(status_code=500, detail=str(e))
-
+@router.delete("/type/{dictId}")
 @router.delete("/type/delete/{dictId}")  # 使用 ID 来标识要删除的接口
 async def delete_dict_type(
     dictId: int,