From 276066cabb9acb48f478e9ed0dd9a2e80d4e219d Mon Sep 17 00:00:00 2001 From: xsl Date: Sat, 9 Aug 2025 23:34:32 +0800 Subject: [PATCH] save code --- change_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change_app.py b/change_app.py index 5b7b6c1..cfd8d7b 100644 --- a/change_app.py +++ b/change_app.py @@ -675,7 +675,7 @@ def change_cloth_base64(): # 在内部调用第二个HTTP请求 try: # 调用第二个API(可以是外部服务或自己的另一个端点) - response = requests.post('http://112.126.94.241:{remote_port}/do_change_cloth', json=data) + response = requests.post(f'http://112.126.94.241:{remote_port}/do_change_cloth', json=data) return Response( response=response.content,