From 06d28cea376331de4bb3ae330f9571f9f3adb374 Mon Sep 17 00:00:00 2001 From: Changhua Date: Fri, 5 May 2023 21:28:16 +0800 Subject: [PATCH] Update description --- func_http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func_http.py b/func_http.py index bf63bfd..341046e 100644 --- a/func_http.py +++ b/func_http.py @@ -29,7 +29,7 @@ class Http(FastAPI): return {"status": ret} def send_image(self, - path: str = Body("C:\\Projs\\WeChatRobot\\TEQuant.jpeg", description="本地图片路径,不支持网络路径"), + path: str = Body("C:\\Projs\\WeChatRobot\\TEQuant.jpeg", description="图片路径"), receiver: str = Body("filehelper", description="roomid 或者 wxid")) -> dict: ret = self.wcf.send_image(path, receiver) return {"status": ret}