修改接口,搅拌楼部署
This commit is contained in:
@ -11,7 +11,7 @@ class APIClient:
|
|||||||
self.login_url = f"{BASE_URL}/api/user/perlogin"
|
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.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.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
|
self.app_id = None
|
||||||
|
|
||||||
def hash_password(self, password):
|
def hash_password(self, password):
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
# API配置
|
# 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 = {
|
LOGIN_DATA = {
|
||||||
"Program": 11,
|
"Program": 11,
|
||||||
"SC": "1000000001",
|
"SC": "1000000001",
|
||||||
@ -19,7 +19,7 @@ SQL_SERVER_CONFIG = {
|
|||||||
"server": "127.0.0.1",
|
"server": "127.0.0.1",
|
||||||
"database": "BS23DB",
|
"database": "BS23DB",
|
||||||
"username": "sa",
|
"username": "sa",
|
||||||
"password": "123"
|
"password": "sa@123456"
|
||||||
}
|
}
|
||||||
|
|
||||||
# TCP配置
|
# TCP配置
|
||||||
|
|||||||
Reference in New Issue
Block a user