perf: 同一个协作会话链接,限制同一用户仅可使用一次

This commit is contained in:
Eric
2023-05-24 14:24:15 +08:00
committed by Jiangjie.Bai
parent 20c1f4a293
commit 440cd13fcc
2 changed files with 10 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
from rest_framework.exceptions import MethodNotAllowed, ValidationError
from rest_framework.decorators import action
from rest_framework.response import Response
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from rest_framework.decorators import action
from rest_framework.exceptions import MethodNotAllowed, ValidationError
from rest_framework.response import Response
from common.const.http import PATCH
from orgs.mixins.api import OrgModelViewSet