@@ -145,7 +145,7 @@ def activity_data_submit(request): |
||
145 | 145 |
except LensmanInfo.DoesNotExist: |
146 | 146 |
return response('400001', 'LensmanInfo Not Found', '摄影师不存在') |
147 | 147 |
|
148 |
- if act.is_expired: |
|
148 |
+ if lensman.is_expired: |
|
149 | 149 |
return response(40001, 'Lensman Has Expired', '摄影师合作已到期') |
150 | 150 |
|
151 | 151 |
MemberActivityDataInfo.objects.update_or_create(user_id=user_id, activity_id=activity_id, defaults={ |