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