20231017
This commit is contained in:
1 parent
20a11a8173
commit
3e97205f17
1 file changed
+3
-10
+3
-10
@@ -2143,16 +2143,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 27,
|
"execution_count": null,
|
||||||
"id": "f6171872-6b48-480a-b2c7-cf368d6cc6d8",
|
"id": "f6171872-6b48-480a-b2c7-cf368d6cc6d8",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"execution": {
|
|
||||||
"iopub.execute_input": "2023-10-17T07:22:34.411936Z",
|
|
||||||
"iopub.status.busy": "2023-10-17T07:22:34.411657Z",
|
|
||||||
"iopub.status.idle": "2023-10-17T07:22:34.919302Z",
|
|
||||||
"shell.execute_reply": "2023-10-17T07:22:34.918526Z",
|
|
||||||
"shell.execute_reply.started": "2023-10-17T07:22:34.411911Z"
|
|
||||||
},
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -2179,7 +2172,7 @@
|
|||||||
" \n",
|
" \n",
|
||||||
" id = str(k).rjust(8,\"0\")\n",
|
" id = str(k).rjust(8,\"0\")\n",
|
||||||
" mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n",
|
" mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n",
|
||||||
" mydata['title'] = '天津石化分公司'\n",
|
" mydata['title'] = '中石化(天津)石油化工有限公司'\n",
|
||||||
" mydata['subtitle'] = v['unit']\n",
|
" mydata['subtitle'] = v['unit']\n",
|
||||||
" mydata['id'] = id\n",
|
" mydata['id'] = id\n",
|
||||||
" mydata['name'] = v['name']\n",
|
" mydata['name'] = v['name']\n",
|
||||||
@@ -2202,7 +2195,7 @@
|
|||||||
" list1.append(mydata)\n",
|
" list1.append(mydata)\n",
|
||||||
" list2.append([k,v['name']])\n",
|
" list2.append([k,v['name']])\n",
|
||||||
" i+=1\n",
|
" i+=1\n",
|
||||||
" x = requests.post('http://192.168.1.148:3003', data = json.dumps(list1), headers=headers)\n",
|
" x = requests.post('http://192.168.31.163:3003', data = json.dumps(list1), headers=headers)\n",
|
||||||
" print(id,v['name'],x.text)\n",
|
" print(id,v['name'],x.text)\n",
|
||||||
" #x.close()\n"
|
" #x.close()\n"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user