Commit fba33c46 by 魏强

revert;

parent 9467e022
......@@ -55,7 +55,6 @@ AGENT_STATUS = {
'1': '超级管理员',
'2': '代理商',
'3': '调试',
'4': '对账',
}
ACCOUNT_STATUS = {
......
......@@ -207,10 +207,6 @@ def machine_info():
json_data = request.get_json()
spot_id = json_data['spot_id'] if 'spot_id' in json_data else 0
cur_user = g.user
if cur_user.level == 4:
data = []
else:
data = IndexService.get_machine_info(spot_id)
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