This commit is contained in:
zhangsan 2025-03-18 19:40:13 +08:00
parent 60b7f5f4cf
commit 670f9da006
3 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,4 @@
pytypecho==2.1.0
pymysql==1.0.2
python-dotenv==0.21.0
requests==2.31.0

View File

@ -3,7 +3,7 @@ import re
import shutil
import uuid
from upload_img import upload_image
from download_img import download_image
def extract_image_paths(content):
"""

View File

@ -1,6 +1,5 @@
import requests
def upload_image(img_path: str) -> str:
"""
上传本地图片到 easyimage 图床并返回图片的公网地址