|
@@ -879,7 +879,7 @@ class AiView(View):
|
|
|
else:
|
|
|
id_list = request_dict.get('id_list', None)
|
|
|
if not id_list:
|
|
|
- request_dict.get('id_list[]', None) # 获取IOS数组传参
|
|
|
+ request_dict.getlist('id_list', None) # 获取IOS数组传参
|
|
|
logger = logging.getLogger('info')
|
|
|
logger.info('已读ai消息id_list:{}'.format(id_list))
|
|
|
if not id_list:
|
|
@@ -904,7 +904,7 @@ class AiView(View):
|
|
|
def deleteInfo(self, userID, request_dict, response):
|
|
|
id_list = request_dict.get('id_list', None)
|
|
|
if not id_list:
|
|
|
- request_dict.get('id_list[]', None) # 获取IOS数组传参
|
|
|
+ request_dict.getlist('id_list', None) # 获取IOS数组传参
|
|
|
logger = logging.getLogger('info')
|
|
|
logger.info('删除ai消息id_list:{}'.format(id_list))
|
|
|
if not id_list:
|