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配置