Commit ba330d6e by nningxx

top5接口

parent 94d45005
......@@ -207,7 +207,7 @@ class ResMesBigScreen(http.Controller):
"total": total,
"abnormal_alarm_list": abnormal_alarm_list
}
@http.route('/roke/tht/utilization_rate_top_5', type='json', auth='none', methods=['POST'], csrf=False,cors="*")
@http.route('/roke/tht/utilization_rate_top_5', type='json', auth='none', methods=['POST','OPTIONS',], csrf=False,cors="*")
def get_oee_top5(self):
try:
url = "https://dws-platform.xbg.rokeris.com/dev-api/public/device_efficiency/series_utilization_rate_top_5"
......
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