修改缺陷:获取会话时未记录选择的工程信息
This commit is contained in:
@@ -24,12 +24,13 @@ class conversations:
|
||||
return records[0]
|
||||
return None
|
||||
|
||||
def add(self,id:str, user_id:str, name:str):
|
||||
def add(self,id:str, user_id:str, name:str,inputs:dict):
|
||||
template = BaseConfig().ConversationCfg()
|
||||
template['id'] = id
|
||||
template['user_id'] = user_id
|
||||
template['name'] = name
|
||||
template['created_at'] = 1724399038
|
||||
template['inputs'] = inputs
|
||||
dbManage.addRecord(self._tableName,template)
|
||||
|
||||
def delete(self,id:str):
|
||||
|
||||
Reference in New Issue
Block a user