|
@@ -846,7 +846,7 @@ class CronUpdateDataView(View):
|
|
|
'status': 200,
|
|
|
'time': now_time,
|
|
|
'url': 'cron/update/deleteUidData',
|
|
|
- 'operation': '已解绑序列号清除uid成功,执行时间{}秒'.format(end_time - now_time),
|
|
|
+ 'operation': '已解绑序列号{}清除uid{}成功,执行时间{}秒'.format(serial_list, uid_list, end_time-now_time)
|
|
|
}
|
|
|
LogModel.objects.create(**log)
|
|
|
|
|
@@ -858,7 +858,7 @@ class CronUpdateDataView(View):
|
|
|
'status': 200,
|
|
|
'time': now_time,
|
|
|
'url': 'cron/update/deleteUidData',
|
|
|
- 'operation': '已解绑序列号清除uid异常:{}'.format(repr(e))
|
|
|
+ 'operation': '已解绑序列号{}清除uid{}异常:{}'.format(serial_list, uid_list, repr(e))
|
|
|
}
|
|
|
LogModel.objects.create(**log)
|
|
|
return response.json(500, 'error_line:{}, error_msg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
|