Commit 21705bc8 authored by 王浩's avatar 王浩

fix user is_tcc update

parent a4c519c0
...@@ -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': request.POST.get('is_tcc'), 'is_tcc': int(request.POST.get('is_tcc')),
} }
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