1234567891011121314151617181920212223242526272829303132333435 |
- #!/usr/bin/python
- # -*- coding=utf-8 -*-
- # @Create Time: 2024-01-18 10:51:09
- # @Last Modified time: 2024-01-18 15:56:47
- # import pandas as pd
- # from record_parser import UrlParser
- # df = pd.DataFrame([{ "record_Time": "2024-01-17T05:14:53.632Z", "current_Url": "http://10.10.21.28/gmp/static/gmpweb/workbench/menu/AppNavExpand.html?appCode=eqpitassets&tSession=1703234778559", "full_Url": "http://domain/path", "user_Id": "zhangchijun@mz.gd.csg.cn", "device_Id": "string", "request_Method": "GET", "event_Type": "click", "form_Data": "{}", "value_Data": "string", "status_Code": "", "target_Url": "http:\/\/10.10.21.28\/api\/jadp\/workbench\/todos\/todoCountByUserId?_=1703234767322", "button_Text": "申领管理"}])
- # parser = UrlParser()
- # result = parser.process(df)
- # print(result)
- # import time
- # import json
- # from multiprocessing.connection import Client
- # client = Client(('127.0.0.1', 35010))
- # # while True:
- # if True:
- # data = {'user': '001', 'time': 1, 'domain': '001'}
- # client.send(data)
- # response = client.recv() # 等待接受数据
- # time.sleep(1)
- # client.send(data)
- # response = client.recv() # 等待接受数据
- # client.send(data)
- # time.sleep(1)
- # response = client.recv() # 等待接受数据
- # client.close()
- # print(response)
- # time.sleep(1)
|