1.获取今日上传的数据接口,用urllib模块

This commit is contained in:
whm
2026-02-03 16:31:26 +08:00
parent cd3ced8833
commit 192c299f80
3 changed files with 120 additions and 6 deletions

View File

@@ -17,9 +17,10 @@ class Account(Base):
max_variation = Column(Integer, default=1, comment="变化量的绝对值,单位是毫米")
yh_id = Column(String(1000), comment="宇恒一号用户id")
cl_name = Column(String(100), nullable=True, comment="测量人员")
# device_name = Column(String(1000), comment="设备名称")
# device_port = Column(String(1000), comment="设备端口")
# device_ip = Column(String(1000), comment="设备局域网内ip地址")
device_name = Column(String(1000), comment="设备名称")
device_port = Column(String(1000), comment="设备端口")
device_ip = Column(String(1000), comment="设备局域网内ip地址")
is_ok = Column(Integer, default=0, comment="是否可以上传")
# 模型转字典