【修复混淆导致原来的热更报错】

master
gaoxin 2022-03-07 18:54:35 +08:00
parent 8105189ad8
commit db488a4697
6 changed files with 21 additions and 6 deletions

View File

@ -92,7 +92,10 @@ class Cos_Upload():
settingJson = json.load(settingContent)
self.cdn_sub_dir = settingJson["dir"]
self.platform = settingJson["platform"]
self.EncryptKey = settingJson["EncryptKey"]
if ("EncryptKey" in settingJson) :
self.EncryptKey = settingJson["EncryptKey"]
else:
self.EncryptKey = ""
def get_all_file(self):
fo = open(self.change_file, "r")

View File

@ -6,4 +6,6 @@
bucket = 'internal-jieling-1302131159'
secret_id = "AKIDRJxLRFFzwcmiNlLzqPggdplPlrpVec2A"
secret_key = "zh8JDqJZYLq42j9NL2RYOyGI9kDOIGxN"
region = "ap-guangzhou"
region = "ap-guangzhou"
域名http://jl.tyu89.wang/

View File

@ -91,7 +91,10 @@ class Cos_Upload():
settingJson = json.load(settingContent)
self.cdn_sub_dir = settingJson["dir"]
self.platform = settingJson["platform"]
self.EncryptKey = settingJson["EncryptKey"]
if ("EncryptKey" in settingJson) :
self.EncryptKey = settingJson["EncryptKey"]
else:
self.EncryptKey = ""
def get_all_file(self):
fo = open(self.change_file, "r")

View File

@ -3,4 +3,6 @@
bucket = 'jl-1253729609'
secret_id = "AKIDWrwlJbAMyOaYGjuzlHciZHkxve7K7Fp8"
secret_key = "B7mALGwOaXJrACyThjUzDArITNUMPFp9"
region = "ap-beijing"
region = "ap-beijing"
域名http://cdn-jl.lanjingshidai.com/

View File

@ -91,7 +91,10 @@ class Cos_Upload():
settingJson = json.load(settingContent)
self.cdn_sub_dir = settingJson["dir"]
self.platform = settingJson["platform"]
self.EncryptKey = settingJson["EncryptKey"]
if ("EncryptKey" in settingJson) :
self.EncryptKey = settingJson["EncryptKey"]
else:
self.EncryptKey = ""
def get_all_file(self):
fo = open(self.change_file, "r")

View File

@ -3,4 +3,6 @@
bucket = '648sy-tcx-1251752472'
secret_id = "AKIDwhBYeT2LN8cqoa6ML2SbT5RVJq76pHSN"
secret_key = "f4C5h38vRhgPr2wZw2rPfeNpzsTord8M"
region = "ap-beijing"
region = "ap-beijing"
域名http://c-tcx.648sy.com/