Commit 4144dafc by Aeolus

update

parent 80aa9f2c
...@@ -88,6 +88,6 @@ def run_get_machine_no(): ...@@ -88,6 +88,6 @@ def run_get_machine_no():
machine = Machine.query.filter_by(qrcode_no=qrcode_no).first() machine = Machine.query.filter_by(qrcode_no=qrcode_no).first()
if machine: if machine:
return BaseResponse(data={"machine_no": machine.machine_no, "status": machine.status}) return BaseResponse(data={"machine_no": machine.machine_no, "status": machine.status, "mac_no": machine.mac})
else: else:
return jsonify(MACHINE_NOT_EXIST_ERROR) return jsonify(MACHINE_NOT_EXIST_ERROR)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment