isrpa 0.8.8__py3-none-any.whl → 0.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
isrpa/utils.py
CHANGED
@@ -8,18 +8,18 @@ def getPath(user_name):
|
|
8
8
|
"""
|
9
9
|
环境变量设置
|
10
10
|
windows
|
11
|
-
setx address "192.168.12.
|
11
|
+
setx address "192.168.12.241"
|
12
12
|
|
13
13
|
linux
|
14
|
-
export address = "192.168.12.
|
14
|
+
export address = "192.168.12.241"
|
15
15
|
source /etc/profile
|
16
16
|
:param port:
|
17
17
|
:return:
|
18
18
|
"""
|
19
19
|
|
20
|
-
address = os.environ.get("address", "192.168.12.
|
20
|
+
address = os.environ.get("address", "192.168.12.241")
|
21
21
|
|
22
|
-
url = f"http://
|
22
|
+
url = f"http://192.168.12.241/client/getPath"
|
23
23
|
print(url)
|
24
24
|
headers = {
|
25
25
|
'Content-Type': 'application/json', # 说明请求体是 JSON 格式
|
@@ -45,8 +45,8 @@ def upload_file(file_path, dest_file, user_name):
|
|
45
45
|
:return:
|
46
46
|
"""
|
47
47
|
|
48
|
-
address = os.environ.get("address", "192.168.12.
|
49
|
-
url = f"http://
|
48
|
+
address = os.environ.get("address", "192.168.12.241")
|
49
|
+
url = f"http://192.168.12.241/client/noticeUpload"
|
50
50
|
print(url)
|
51
51
|
headers = {
|
52
52
|
'Content-Type': 'application/json', # 说明请求体是 JSON 格式
|
@@ -4,8 +4,8 @@ isrpa/Template_Exception.py,sha256=an6eQ1NMB8a9R-J0yyMdwHIZcZeDtdV5f7fWKZQsZ3s,8
|
|
4
4
|
isrpa/__init__.py,sha256=pG-YPVG0gJIJ6s4xcAz9S_CnUxpUcz33wl9eNUSgxGk,20
|
5
5
|
isrpa/credentials.py,sha256=4yIETA7XJOFZpMz7XWo8cRYtbUMHPEJqPDvmZgfOR18,2808
|
6
6
|
isrpa/message.py,sha256=N0s6hMaC5S-Pi4EhwcSp-ngfBTBQyW6ymU9sI9dUSeE,11329
|
7
|
-
isrpa/utils.py,sha256=
|
8
|
-
isrpa-0.
|
9
|
-
isrpa-0.
|
10
|
-
isrpa-0.
|
11
|
-
isrpa-0.
|
7
|
+
isrpa/utils.py,sha256=X2642yk0vuESwFY_bcG_mxNOfiRuyxGRpt9Qo4ZKQYA,51352
|
8
|
+
isrpa-0.9.0.dist-info/METADATA,sha256=twI9ySiyv_abQ2v5M-RUKID1XpDznntPJSawGG1KIFQ,511
|
9
|
+
isrpa-0.9.0.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
10
|
+
isrpa-0.9.0.dist-info/top_level.txt,sha256=J5HJbtR2WAeKnW1rrpkiuapwnlswv3RgM-riyZD87o0,6
|
11
|
+
isrpa-0.9.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|