This commit is contained in:
chenyang
2022-07-03 21:57:55 +08:00
parent 92d39ddcde
commit feebc0ec5c
6 changed files with 59 additions and 48 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class CooperationMindLogLib(object):
coop_mind_id=json_msg_dict.get('coop_mind_id'),
log_uuid=json_msg_dict.get('log_uuid'),
log_content=json_msg,
client_id=json_msg_dict.get('client_id')
client_uuid=json_msg_dict.get('client_uuid')
)
log.save()
return CooperationMindLogSerializer(log).data
+1 -1
View File
@@ -15,7 +15,7 @@ class CooperationMind(AbstractModel):
"""
"""
coop_mind_name = models.CharField(verbose_name='脑图名称', max_length=64, null=False, blank=False)
coop_mind_name = models.CharField(verbose_name='脑图名称', max_length=128, null=False, blank=False)
creator_user_id = models.BigIntegerField(verbose_name='创建人ID', null=False, blank=False, default=0)
client_uuid = models.CharField(verbose_name='客户端ID', max_length=64, null=False, blank=False)
snapshot_data = models.TextField(verbose_name='脑图数据', null=True, )
+1 -1
View File
@@ -87,7 +87,7 @@ class JsMindLogView(APIView):
"""
post_body = request.POST
client_uuid = post_body.get('client_id')
client_uuid = post_body.get('client_uuid')
type = post_body.get('type')
if 'snapshot' == type:
# 保存快照