更新最新代码

This commit is contained in:
2024-03-21 20:32:50 +08:00
parent 1ec018ca90
commit 7d756bcfa4
52 changed files with 38968 additions and 51 deletions
+15 -1
View File
@@ -7,6 +7,12 @@ def to_dashboard(request):
param = {"page": "b9b101e"}
return render(request, "html/dashboard.html", param)
def to_baiban(request):
"""
协作白板
"""
param = {"page": "share"}
return render(request, "html/baiban.html", param)
def to_share(request):
"""
@@ -25,7 +31,8 @@ def to_chat_room(request):
"""
聊天室页面
"""
param = {"page": "chat_room"}
param = {"page": "chat_room",
"username":request.user.username}
return render(request, "html/wechat_2.html", param)
def to_rengwu(request):
"""
@@ -42,6 +49,13 @@ def to_kecheng(request):
param = {"page": "chat_room"}
return render(request, "html/kecheng.html", param)
def to_write(request):
"""
协同编辑页面
"""
param = {"page": "write"}
return render(request, "html/write_2.html", param)
def to_star(request):
"""
收藏页面
+1
View File
@@ -78,6 +78,7 @@ class JsMindView(LoginRequiredJSONMixin, ListAPIView):
coop_mind_name = request.data.get('mind_name')
coop_mind_id = request.data.get('coop_mind_id')
op_type = request.data.get('op_type')
if op_type == "delete_cancel":
CooperationMind.objects.filter(id=coop_mind_id, creator_user_id=user.id).update(deleted=False)
return build_response()