Browse Source

初始用户地区

chenshibin 4 years ago
parent
commit
dcc4d6602f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/RegionCountryController.py

+ 1 - 1
Controller/RegionCountryController.py

@@ -45,7 +45,7 @@ class RegionCountryView(View):
             return response.json(309)
         user_qs[0].region_country = number
         user_qs[0].save()
-        return response.json()
+        return response.json(0)
 
     def do_initRegionDate(self, request_dict, response):
         filepath = request_dict.get('filepath')