服务器地址

This commit is contained in:
caoqianming 2021-06-18 13:46:58 +08:00
parent 2d6a5459d6
commit 874a27d52e
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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