From cc79cd11bf5e21cecb5097ccd276080974070272 Mon Sep 17 00:00:00 2001 From: xiongyi <827523911@qq.com> Date: Tue, 27 Jan 2026 17:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E6=90=85=E6=8B=8C=E6=A5=BC=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- API/client.py | 2 +- config/settings.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/API/client.py b/API/client.py index bd83748..3700f3b 100644 --- a/API/client.py +++ b/API/client.py @@ -11,7 +11,7 @@ class APIClient: self.login_url = f"{BASE_URL}/api/user/perlogin" self.mould_info_url = f"{BASE_URL}/api/ext/mould/last_artifact?mouldCode=SHR2B1-9" self.task_info_url = f"{BASE_URL}/api/ext/artifact/task" - self.not_pour_info_url = f"{BASE_URL}/api/ext/artifact/not_pour" + self.not_pour_info_url =f"{BASE_URL}/api/ext/mould/not_pour_rfid" #f"{BASE_URL}/api/ext/artifact/not_pour"#调试修改 self.app_id = None def hash_password(self, password): diff --git a/config/settings.py b/config/settings.py index 1fe9642..28eb6fb 100644 --- a/config/settings.py +++ b/config/settings.py @@ -2,7 +2,7 @@ import os # API配置 -BASE_URL = "http://127.0.0.1:5000"#https://www.shnthy.com:9154 +BASE_URL = "http://10.6.60.153:9155"#替换"http://127.0.0.1:5000"#https://www.shnthy.com:9154 LOGIN_DATA = { "Program": 11, "SC": "1000000001", @@ -19,7 +19,7 @@ SQL_SERVER_CONFIG = { "server": "127.0.0.1", "database": "BS23DB", "username": "sa", - "password": "123" + "password": "sa@123456" } # TCP配置