mirror of
https://github.com/himool/HimoolERP.git
synced 2025-02-25 14:44:02 +08:00
-
This commit is contained in:
parent
7c29947fb7
commit
ceb0075c96
3 changed files with 2 additions and 6 deletions
|
@ -1,8 +1,7 @@
|
|||
from rest_framework.decorators import api_view, action
|
||||
from oms.settings import captcha_app_key
|
||||
from rest_framework import status, exceptions
|
||||
from rest_framework.response import Response
|
||||
from .models import Teams, User, Captcha
|
||||
from .models import Teams, User
|
||||
from warehouse.models import Inventory
|
||||
from rest_framework import viewsets
|
||||
from django.contrib import auth
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { register, getCaptcha } from '@/api/user'
|
||||
import { register } from '@/api/user'
|
||||
|
||||
export default {
|
||||
name: 'Register',
|
||||
|
|
|
@ -145,6 +145,3 @@ REST_FRAMEWORK = {
|
|||
'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'],
|
||||
'NON_FIELD_ERRORS_KEY': 'message',
|
||||
}
|
||||
|
||||
# 短信验证码 appkey
|
||||
captcha_app_key = '9c06acc23b8a64a8'
|
||||
|
|
Loading…
Reference in a new issue