Browse Source

初始用户地区

chenshibin 4 năm trước cách đây
mục cha
commit
dcc4d6602f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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')