|
|
|
@ -10,6 +10,8 @@ from django.views import View |
|
|
|
|
from django.http import HttpResponsePermanentRedirect |
|
|
|
|
import logging |
|
|
|
|
|
|
|
|
|
from api.utils.baseutils import get_app_domain_name |
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__file__) |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +28,7 @@ class IosUDIDView(View): |
|
|
|
|
app_info = Apps.objects.filter(short=short).first() |
|
|
|
|
|
|
|
|
|
if app_info: |
|
|
|
|
server_domain = get_redirect_server_domain(request, None, app_info.domain_name) |
|
|
|
|
server_domain = get_redirect_server_domain(request, None, get_app_domain_name(app_info)) |
|
|
|
|
if app_info.issupersign and app_info.user_id.supersign_active: |
|
|
|
|
ios_obj = IosUtils(format_udid_info, app_info.user_id, app_info) |
|
|
|
|
status, msg = ios_obj.sign() |
|
|
|
|