浏览代码

SuperPasswordView类改为AppAccoutView类

guanhailong 2 年之前
父节点
当前提交
78a024dc56
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Ansjer/urls.py
  2. 1 1
      Controller/AppAccountManagement.py

+ 1 - 1
Ansjer/urls.py

@@ -256,7 +256,7 @@ urlpatterns = [
     re_path(r'^api/algorithm/', include("Ansjer.server_urls.algorithm_shop_url")),
     re_path(r'^kvs/', include("Ansjer.server_urls.kvs_url")),
     re_path(r'^icloud/', include("Ansjer.server_urls.icloud_url")),
-    re_path('appAccout/(?P<operation>.*)', AppAccountManagement.SuperPasswordView.as_view()),
+    re_path('appAccout/(?P<operation>.*)', AppAccountManagement.AppAccoutView.as_view()),
     re_path('sensorGateway/(?P<operation>.*)', SensorGatewayController.SensorGateway.as_view()),
     re_path(r'^api/surveys/(?P<operation>.*)$', CloudStorageController.CloudStorageView.as_view()),
     re_path(r'^api/device/share/(?P<operation>.*)$', UserDeviceShareController.UserDeviceShareView.as_view()),

+ 1 - 1
Controller/AppAccountManagement.py

@@ -19,7 +19,7 @@ from django.views import View
 from Service.CommonService import CommonService
 
 
-class SuperPasswordView(View):
+class AppAccoutView(View):
     def get(self, request, *args, **kwargs):
         request.encoding = 'utf-8'
         operation = kwargs.get('operation')