Commit df7e0419 by Aeolus

update

parent d348a2ac
......@@ -35,11 +35,11 @@ def create_rent():
json_data = request.get_json()
# machine_no = json_data["machine_no"]
# hatch_nos = json_data["hatch_nos"]
# user = g.user
user = g.user
machine_no = '1636127865'
hatch_nos = [1]
user = WxUser.query.filter_by(id=1).first()
# user = WxUser.query.filter_by(id=1).first()
# 验证机柜是否存在
machine = Machine.query.filter_by(machine_no=machine_no).first()
......
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