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,