|
@@ -249,7 +249,7 @@ def do_upload_uid(request):
|
|
else:
|
|
else:
|
|
return response.json(376)
|
|
return response.json(376)
|
|
# tutk uid长度为14或20
|
|
# tutk uid长度为14或20
|
|
- elif len(uid) != 14 or len(uid) != 20:
|
|
|
|
|
|
+ elif len(uid) != 14 and len(uid) != 20:
|
|
return response.json(376)
|
|
return response.json(376)
|
|
UID.uid = uid
|
|
UID.uid = uid
|
|
bulk.append(UID)
|
|
bulk.append(UID)
|