|
@@ -462,8 +462,7 @@ class DetectControllerViewV2(View):
|
|
|
res.append(equipment_info)
|
|
|
return response.json(0, {'datas': res, 'count': count})
|
|
|
except Exception as e:
|
|
|
- print('error_line:{}, error_msg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
|
|
|
- return response.json(474)
|
|
|
+ return response.json(500, 'error_line:{}, error_msg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
|
|
|
|
|
|
def do_update_interval(self, userID, request_dict, response):
|
|
|
uid = request_dict.get('uid', None)
|