From 874a27d52e15e0634a03745ec27a13ac0f7974d5 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 18 Jun 2021 13:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_client/.env.production | 2 +- test_server/crm/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_client/.env.production b/test_client/.env.production index 3764828..3d063d1 100644 --- a/test_client/.env.production +++ b/test_client/.env.production @@ -3,4 +3,4 @@ ENV = 'production' # base api # VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://1.116.154.158:8000/api' +VUE_APP_BASE_API = 'https://apitest.ahctc.cn' diff --git a/test_server/crm/views.py b/test_server/crm/views.py index 3c1a074..11b31d9 100644 --- a/test_server/crm/views.py +++ b/test_server/crm/views.py @@ -720,7 +720,7 @@ class CandidateViewSet(RetrieveModelMixin, ListModelMixin, GenericViewSet): class MsgViewSet(CreateModelMixin, ListModelMixin, GenericViewSet): perms_map = [ - {'get': '*'}, {'post': 'msg_create'}] + {'get': 'msg_view'}, {'post': 'msg_create'}] queryset = SendCode.objects.all() serializer_class = MsgSerializer pagination_class = CommonPagination