|
@@ -61,7 +61,8 @@ def addInterface(request):
|
|
|
if tko.code == 0:
|
|
|
userID = tko.userID
|
|
|
re_uid = re.compile(r'^[A-Za-z0-9]{20}$')
|
|
|
- if re_uid.match(UID):
|
|
|
+ sy_uid = re.compile(r'^[A-Za-z0-9]{14}$')
|
|
|
+ if re_uid.match(UID) or sy_uid.match(UID):
|
|
|
is_ap = int(is_ap)
|
|
|
is_exist = UidUserModel.objects.filter(UID=UID, userID_id=userID, is_ap=is_ap)
|
|
|
if is_exist:
|