Explorar o código

修改设备确定地区的请求方法

lang %!s(int64=4) %!d(string=hai) anos
pai
achega
72c50a76b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/DeviceConfirmRegion.py

+ 1 - 1
Controller/DeviceConfirmRegion.py

@@ -49,7 +49,7 @@ class ConfirmRegion(TemplateView):
     def dispatch(self, *args, **kwargs):
         return super(ConfirmRegion, self).dispatch(*args, **kwargs)
 
-    def post(self, request, *args, **kwargs):
+    def get(self, request, *args, **kwargs):
         response = ResponseObject()
         request.encoding = 'utf-8'
         # number = request.POST.get('number', None)