update
This commit is contained in:
parent
885d423340
commit
bbc63afc29
10
xumu.py
10
xumu.py
|
@ -26,16 +26,6 @@ class Device(BaseModel):
|
||||||
type: int = None
|
type: int = None
|
||||||
|
|
||||||
|
|
||||||
# 数据查询参数实体
|
|
||||||
class DataQuery(BaseModel):
|
|
||||||
deviceId: str
|
|
||||||
|
|
||||||
|
|
||||||
# RFID查询参数实体
|
|
||||||
class RFIDQuery(BaseModel):
|
|
||||||
rfid: str
|
|
||||||
|
|
||||||
|
|
||||||
# 数据查询接口
|
# 数据查询接口
|
||||||
@app.get("/api/xumu/data/query")
|
@app.get("/api/xumu/data/query")
|
||||||
async def data_query(deviceId):
|
async def data_query(deviceId):
|
||||||
|
|
Loading…
Reference in New Issue