|
@@ -878,6 +878,8 @@ class AiView(View):
|
|
|
return response.json(0, {'update_count': is_update})
|
|
|
else:
|
|
|
id_list = request_dict.get('id_list', None)
|
|
|
+ logger = logging.getLogger('info')
|
|
|
+ logger.info('已读ai消息id_list:{}'.format(id_list))
|
|
|
if not id_list:
|
|
|
return response.json(444)
|
|
|
id_list = eval(id_list) # 字符串转列表
|
|
@@ -899,6 +901,8 @@ class AiView(View):
|
|
|
|
|
|
def deleteInfo(self, userID, request_dict, response):
|
|
|
id_list = request_dict.get('id_list', None)
|
|
|
+ logger = logging.getLogger('info')
|
|
|
+ logger.info('删除ai消息id_list:{}'.format(id_list))
|
|
|
if not id_list:
|
|
|
return response.json(444)
|
|
|
try:
|