Browse Source

图像的记录, 数据库, 增删查改

AnlaAnla 5 months ago
parent
commit
3106e2b01e
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/api/image_data.py

+ 1 - 3
app/api/image_data.py

@@ -1,8 +1,6 @@
-# app/api/image_data.py
-
 import os
 import os
 import uuid
 import uuid
-import json  # <-- 确保导入了json库
+import json
 from typing import Optional, Dict, Any, List
 from typing import Optional, Dict, Any, List
 from fastapi import APIRouter, File, UploadFile, Depends, HTTPException, Form, Query
 from fastapi import APIRouter, File, UploadFile, Depends, HTTPException, Form, Query
 from fastapi.responses import JSONResponse
 from fastapi.responses import JSONResponse