|
@@ -51,7 +51,7 @@ class DataHandleServer:
|
|
|
# 如果记录是转人工并且有客服接通把客服更新到转接字段
|
|
|
self.app.logger.debug(f"Received kwargs: {kwargs} user_id:{user_id},user_name:{user_name}, call_record:{call_record}")
|
|
|
#如果记录已经有user_id不再更新 删除参数里面的user_id
|
|
|
- if call_record.user_id and user_id:
|
|
|
+ if call_record.user_id and 'user_id' in kwargs:
|
|
|
kwargs.pop('user_id', None)
|
|
|
kwargs.pop('user_name', None)
|
|
|
# 动态更新字段
|