@@ -135,7 +135,7 @@ def lensman_price_fix_api(request): |
||
| 135 | 135 |
@logit |
| 136 | 136 |
def lensman_photo_upload_api(request): |
| 137 | 137 |
""" 摄影师照片上传 """ |
| 138 |
- lensman_type = int(request.POST.get('lensman_type', 0))
|
|
| 138 |
+ lensman_type = int(request.POST.get('lensman_type', 0) or 0)
|
|
| 139 | 139 |
user_id = lensman_id = request.POST.get('user_id', '')
|
| 140 | 140 |
nickname = request.POST.get('nickname', '')
|
| 141 | 141 |
group_id = request.POST.get('group_id', '')
|
@@ -21,7 +21,7 @@ django-shortuuidfield==0.1.3 |
||
| 21 | 21 |
django-six==1.0.4 |
| 22 | 22 |
django-uniapi==1.0.0 |
| 23 | 23 |
django-we==1.0.14 |
| 24 |
-djangorestframework==3.7.0 |
|
| 24 |
+djangorestframework==3.7.1 |
|
| 25 | 25 |
furl==1.0.1 |
| 26 | 26 |
hiredis==0.2.0 |
| 27 | 27 |
isoweek==1.3.3 |