| 作者 | SHA1 | 备注 | 提交日期 |
|---|---|---|---|
|
|
c497c2fb27 | 2 天之前 |
@@ -25,7 +25,7 @@ def lensman_register(request): |
||
| 25 | 25 |
'identity_card_number': identity_card_number, |
| 26 | 26 |
} |
| 27 | 27 |
|
| 28 |
- lensman, _ = LensmanInfo.objects.update_or_create(user_id=user_id, defaults=fields) |
|
| 28 |
+ lensman, _ = LensmanInfo.objects.update_or_create(user_id=user_id, defaults=fields, status=True, lensman_status=LensmanInfo.UNVERIFIED) |
|
| 29 | 29 |
|
| 30 | 30 |
return response(200, 'Submit Success', u'提交成功', data=lensman.data) |
| 31 | 31 |
|