1
This commit is contained in:
+21
-1
@@ -1,8 +1,28 @@
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
from django.urls import path, include
|
||||
|
||||
from .views.GetIPDataView import GetIPDataView
|
||||
from .views.BaiduFanyiView import BaiduFanyiView
|
||||
|
||||
from .views.BaiduFanyiView import BaiduFanyiView, AllLangTypeViews, AutoLangTypeViews, RecognizeLangTypeViews, PictureRecognizeViews, SpeechRecognitionView
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
path("getIpData/", GetIPDataView.as_view()),
|
||||
|
||||
path("baiduFanyi/", BaiduFanyiView.as_view()),
|
||||
|
||||
path("getAllLangType/", AllLangTypeViews.as_view()),
|
||||
|
||||
path("getAutoLangType/", AutoLangTypeViews.as_view()),
|
||||
|
||||
path("recognizeLangType/", RecognizeLangTypeViews.as_view()),
|
||||
|
||||
path("pictureRecognize/", PictureRecognizeViews.as_view()),
|
||||
|
||||
path("speechRecognition/", SpeechRecognitionView.as_view()),
|
||||
|
||||
|
||||
|
||||
]
|
||||
Reference in New Issue
Block a user