From cadac0a99d87c53805a07f3b4ca7fd11e524fe4a Mon Sep 17 00:00:00 2001
From: hyb <kk_huangyangbo@163.com>
Date: Fri, 07 Nov 2025 01:22:21 +0000
Subject: [PATCH] 新增齐鲁pad笼位更新操作压测脚本

---
 .idea/inspectionProfiles/Project_Default.xml   |    6 +++
 测试组/脚本/登录获取token/TestData/userinfo.xlsx        |    0 
 测试组/手册/SQLmap使用教程.docx                         |    0 
 .idea/.gitignore                               |    8 ++++
 测试组/脚本/登录获取token/获取用户token.py                  |    7 ++-
 测试组/脚本/登录获取token/.idea/vcs.xml                 |    6 +++
 测试组/脚本/造数脚本                                    |    2 
 .idea/misc.xml                                 |    4 ++
 .idea/vcs.xml                                  |    7 +++
 .idea/modules.xml                              |    8 ++++
 测试组/脚本/登录获取token/.idea/misc.xml                |    5 ++
 .idea/inspectionProfiles/profiles_settings.xml |    6 +++
 测试组/脚本/登录获取token/.idea/WuXi.iml                |    3 +
 .idea/archive.iml                              |   33 ++++++++++++++++
 14 files changed, 89 insertions(+), 6 deletions(-)

diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..35410ca
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml
+# 基于编辑器的 HTTP 客户端请求
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/archive.iml b/.idea/archive.iml
new file mode 100644
index 0000000..a951f53
--- /dev/null
+++ b/.idea/archive.iml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="PYTHON_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="django" name="Django">
+      <configuration>
+        <option name="rootFolder" value="$MODULE_DIR$/测试组/Test_platform/Interface_automation/backend" />
+        <option name="settingsModule" value="backend/settings.py" />
+        <option name="manageScript" value="$MODULE_DIR$/测试组/Test_platform/Interface_automation/backend/manage.py" />
+        <option name="environment" value="&lt;map/&gt;" />
+        <option name="doNotUseTestRunner" value="false" />
+        <option name="trackFilePattern" value="migrations" />
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/测试组/Test_platform/Interface_automation/backend" isTestSource="false" />
+      <excludeFolder url="file://$MODULE_DIR$/测试组/脚本/登录获取token/.venv" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+  <component name="PyDocumentationSettings">
+    <option name="format" value="PLAIN" />
+    <option name="myDocStringFormat" value="Plain" />
+  </component>
+  <component name="TemplatesService">
+    <option name="TEMPLATE_CONFIGURATION" value="Django" />
+  </component>
+  <component name="TestRunnerService">
+    <option name="PROJECT_TEST_RUNNER" value="py.test" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..03d9549
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+<component name="InspectionProjectProfileManager">
+  <profile version="1.0">
+    <option name="myName" value="Project Default" />
+    <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
+  </profile>
+</component>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..105ce2d
--- /dev/null
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,6 @@
+<component name="InspectionProjectProfileManager">
+  <settings>
+    <option name="USE_PROJECT_PROFILE" value="false" />
+    <version value="1.0" />
+  </settings>
+</component>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..5068de7
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (登录获取token)" project-jdk-type="Python SDK" />
+</project>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..35f7798
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/archive.iml" filepath="$PROJECT_DIR$/.idea/archive.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..764c3bb
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="Git" />
+    <mapping directory="$PROJECT_DIR$/测试组/脚本/造数脚本" vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git "a/\346\265\213\350\257\225\347\273\204/\346\211\213\345\206\214/SQLmap\344\275\277\347\224\250\346\225\231\347\250\213.docx" "b/\346\265\213\350\257\225\347\273\204/\346\211\213\345\206\214/SQLmap\344\275\277\347\224\250\346\225\231\347\250\213.docx"
index ce5fb5b..01d10ce 100644
--- "a/\346\265\213\350\257\225\347\273\204/\346\211\213\345\206\214/SQLmap\344\275\277\347\224\250\346\225\231\347\250\213.docx"
+++ "b/\346\265\213\350\257\225\347\273\204/\346\211\213\345\206\214/SQLmap\344\275\277\347\224\250\346\225\231\347\250\213.docx"
Binary files differ
diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/WuXi.iml" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/WuXi.iml"
index aee9ef2..7cd9b73 100644
--- "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/WuXi.iml"
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/WuXi.iml"
@@ -2,9 +2,10 @@
 <module type="PYTHON_MODULE" version="4">
   <component name="NewModuleRootManager">
     <content url="file://$MODULE_DIR$">
+      <excludeFolder url="file://$MODULE_DIR$/.venv" />
       <excludeFolder url="file://$MODULE_DIR$/venv" />
     </content>
-    <orderEntry type="jdk" jdkName="Python 3.11" jdkType="Python SDK" />
+    <orderEntry type="jdk" jdkName="Python 3.12 (登录获取token)" jdkType="Python SDK" />
     <orderEntry type="sourceFolder" forTests="false" />
   </component>
 </module>
\ No newline at end of file
diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/misc.xml" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/misc.xml"
index a971a2c..f949633 100644
--- "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/misc.xml"
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/misc.xml"
@@ -1,4 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11" project-jdk-type="Python SDK" />
+  <component name="Black">
+    <option name="sdkName" value="Python 3.12 (登录获取token)" />
+  </component>
+  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (登录获取token)" project-jdk-type="Python SDK" />
 </project>
\ No newline at end of file
diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/vcs.xml" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/vcs.xml"
new file mode 100644
index 0000000..c2365ab
--- /dev/null
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/.idea/vcs.xml"
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/TestData/userinfo.xlsx" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/TestData/userinfo.xlsx"
index d173311..b04cc08 100644
--- "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/TestData/userinfo.xlsx"
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/TestData/userinfo.xlsx"
Binary files differ
diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/\350\216\267\345\217\226\347\224\250\346\210\267token.py" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/\350\216\267\345\217\226\347\224\250\346\210\267token.py"
index 2a32066..66cbbba 100644
--- "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/\350\216\267\345\217\226\347\224\250\346\210\267token.py"
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\347\231\273\345\275\225\350\216\267\345\217\226token/\350\216\267\345\217\226\347\224\250\346\210\267token.py"
@@ -8,7 +8,7 @@
 }
 
 def get_Token():
-    url = "http://192.168.7.127:8083/sys/login"
+    url = "http://192.168.7.104:8081/sys/login"
     headers = {
         "content-type":"application/json; charset=UTF-8"
     }
@@ -22,12 +22,13 @@
         username = aes_encrypt(user["username"], "abcdefgh12345678", "12345678abcdefgh")
         password = aes_encrypt(user["password"], "abcdefgh12345678", "12345678abcdefgh")
         # 构造请求体
-        params = {"code": "1234","username": username, "password": password }
+        params = {"code": "","username": username, "password": password,}
         try:
             response = requests.post(url=url, headers=headers, json=params, verify=False)
             if response.status_code == 200:
                 data = response.json()
-                token = data["token"]
+                token = data["refreshToken"]
+                print(user["username"])
                 if token:
                     # Token写入Excel文件
                     conftest.write_excel("TestData/userinfo.xlsx",index,"token",token)
diff --git "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\351\200\240\346\225\260\350\204\232\346\234\254" "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\351\200\240\346\225\260\350\204\232\346\234\254"
index 491989f..88a42ca 160000
--- "a/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\351\200\240\346\225\260\350\204\232\346\234\254"
+++ "b/\346\265\213\350\257\225\347\273\204/\350\204\232\346\234\254/\351\200\240\346\225\260\350\204\232\346\234\254"
@@ -1 +1 @@
-Subproject commit 491989f164674f5eeba36a9a7747c1bab267b3f8
+Subproject commit 88a42ca738e7b84aa7cb3a3e0b217397f93b84a7

--
Gitblit v1.9.1