pull/1/head
xiaoyu 4 years ago
parent 04e51c8d3c
commit 21ffdea520
  1. 4
      fir_ser/fir_ser/settings.py
  2. 2
      fir_ser/nginx.conf
  3. 8
      fir_ser/supersign/scripts/apple_api.rb

@ -332,8 +332,8 @@ DEFAULT_MOBILEPROVISION = {
'url': 'https://ali-static.jappstore.com/embedded.mobileprovision'
},
'supersign': {
# 超级签名,如果self 为True,则默认用自己的描述文件,否则同企业配置顺序一致
'self': True,
# 超级签名,如果self 为True,则默认用自己的描述文件,否则同企业配置顺序一致,自己的配置文件有时候有问题
'self': False,
'path': os.path.join(MEDIA_ROOT, 'embedded.mobileprovision'),
'url': 'https://ali-static.jappstore.com/embedded.mobileprovision'
}

@ -34,7 +34,7 @@ http {
types_hash_max_size 2048;
client_max_body_size 100m;
client_max_body_size 200m;
keepalive_timeout 300;
server_names_hash_bucket_size 512;

@ -44,7 +44,13 @@ class DevelopPortalHandle
def createDistributionProvision(provisioningClass,appid,provisionName,certid)
cert = Spaceship::Portal.certificate.Production.find(id=certid)
if !cert then
cert = Spaceship::Portal.certificate.production.all.last
cert = Spaceship::Portal.certificate.production.all.last
if !cert then
cert = Spaceship::Portal.certificate.AppleDistribution.all.last
if !cert then
cert = Spaceship::Portal.certificate.AppleDistribution.find(id=certid)
end
end
end
profile = provisioningClass.create!(bundle_id: appid,certificate:cert,name:provisionName.split("/")[-1])
return profile

Loading…
Cancel
Save