Commit 97fc5c79 authored by 王浩's avatar 王浩

Merge branch 'master' of http://git.wanmeizhensuo.com/alpha/sun into haow/dev

parents a410208f 61874a39
...@@ -72,7 +72,7 @@ class UserUpdateOrCreate(APIView): ...@@ -72,7 +72,7 @@ class UserUpdateOrCreate(APIView):
'phone': request.POST.get('phone'), 'phone': request.POST.get('phone'),
'email': request.POST.get('email'), 'email': request.POST.get('email'),
'gender': request.POST.get('gender'), 'gender': request.POST.get('gender'),
'is_tcc': int(request.POST.get('is_tcc')), 'is_tcc': int(request.POST.get('is_tcc', 0)),
} }
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment