Commit 4076416b by 魏强

1

parent 4ef58564
......@@ -207,5 +207,10 @@ def machine_info():
json_data = request.get_json()
spot_id = json_data['spot_id'] if 'spot_id' in json_data else 0
data = IndexService.get_machine_info(spot_id)
cur_user = g.user
if cur_user.level == 4:
data = []
else:
data = IndexService.get_machine_info(spot_id)
return jsonify(BASE_RESPONSE(data=data).to_dict())
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