优化代码

qrnn
youngS 3 years ago
parent e559267de3
commit 216bc367c4
  1. 3
      fir_ser/api/utils/serializer.py
  2. 1
      fir_ser/api/views/receiveudids.py

@ -532,7 +532,8 @@ class AdminDeveloperSerializer(DeveloperSerializer):
class SuperSignUsedSerializer(serializers.ModelSerializer):
class Meta:
model = models.APPSuperSignUsedInfo
fields = ["created_time", "device_udid", "device_name", "developer_id", "bundle_id", "bundle_name", "other_uid", "developer_description"]
fields = ["created_time", "device_udid", "device_name", "developer_id", "bundle_id", "bundle_name", "other_uid",
"developer_description"]
device_udid = serializers.CharField(source="udid.udid.udid")
device_name = serializers.CharField(source="udid.product")

@ -44,6 +44,7 @@ class IosUDIDView(APIView):
client_ip = get_real_ip_address(request)
logger.info(f"client_ip {client_ip} short {short} app_info {app_obj}")
# from api.utils.app.supersignutils import IosUtils
# ios_obj = IosUtils(format_udid_info, app_obj.user_id, app_obj)
# ios_obj.sign_ipa(client_ip)
# return Response('ok')

Loading…
Cancel
Save