diff --git a/Root/lanjing/duoyou/cdn_lanjing_dy/config.txt b/Root/lanjing/duoyou/cdn_lanjing_dy/config.txt index b90d6dea8..25d841202 100644 --- a/Root/lanjing/duoyou/cdn_lanjing_dy/config.txt +++ b/Root/lanjing/duoyou/cdn_lanjing_dy/config.txt @@ -19,6 +19,6 @@ "IS_NO_TALKING":{"desc":"", "versionCode":"1", "isActive":"0"}, "IS_SELECT_RESLUTION":{"desc":"","versionCode":"1","isActive":"1"}, "INNER_WEB_CONTROL":{"desc":"","versionCode":"1","isActive":"1"}, - "IS_NULL":{"desc":"","versionCode":"1","isActive":"1"} + "IS_NULL":{"desc":"","versionCode":"5","isActive":"1"} } } \ No newline at end of file diff --git a/Root/lanjing/duoyou/cdn_lanjing_dy/version.txt b/Root/lanjing/duoyou/cdn_lanjing_dy/version.txt index 1cd65bdc1..469a84017 100644 --- a/Root/lanjing/duoyou/cdn_lanjing_dy/version.txt +++ b/Root/lanjing/duoyou/cdn_lanjing_dy/version.txt @@ -1 +1 @@ -{"subChannel":"2000","buglyId":"261348dcd3","channel":"DUOYOU","resUrl":"http://cdn-jl.lanjingshidai.com/duoyou/","packageVersion":"0.1","version":"1.1.2","serverUrl":"http://82.157.34.193:8080/"} \ No newline at end of file +{"subChannel":"2000","buglyId":"261348dcd3","channel":"DUOYOU","resUrl":"resUrl":"http://cdn-jl.lanjingshidai.com/duoyou/","packageVersion":"0.1","version":"1.1.1","serverUrl":"http://49.232.144.151:8080/"} \ No newline at end of file diff --git a/Root/lanjing/haofan/cdn_haofan_Ani/Setting.txt b/Root/lanjing/haofan/cdn_haofan_Ani/Setting.txt new file mode 100644 index 000000000..7bf73c529 --- /dev/null +++ b/Root/lanjing/haofan/cdn_haofan_Ani/Setting.txt @@ -0,0 +1,5 @@ +{ + "cdn_type":"cos_lj", + "dir":"aiwan", + "platform":"Android" +} \ No newline at end of file diff --git a/Root/lanjing/haofan/cdn_haofan_Ani/config.txt b/Root/lanjing/haofan/cdn_haofan_Ani/config.txt new file mode 100644 index 000000000..25d841202 --- /dev/null +++ b/Root/lanjing/haofan/cdn_haofan_Ani/config.txt @@ -0,0 +1,24 @@ +{ + "Setting":{ + "LanguagePackager":{"desc":"", "versionCode":"1", "isActive":"0"}, + "PACKAGE_CC_CODE":{"desc":"", "value":"4001", "versionCode":"1", "isActive":"1"}, + "ServerVersion":{"desc":"", "value":"0", "versionCode":"1", "isActive":"1"}, + "ThinkAnalysis_GetDeviceID":{"desc":"", "versionCode":"1", "isActive":"1"}, + "LayoutBuilderWrap":{"desc":"", "versionCode":"1", "isActive":"1"}, + "NOTICE_CHANNEL":{"desc":"", "value":"40001", "versionCode":"1", "isActive":"1"}, + "IS_TITLE_EFFECT_SCALE":{"desc":"", "versionCode":"1", "isActive":"1","value":"1"}, + "IS_PLAY_LOGIN_VIDEO":{"desc":"", "versionCode":"1", "isActive":"0"}, + "UPDATE_PANEL_BG":{"desc":"","versionCode":"1","isActive":"1","value":"loading7"}, + "IS_PLAY_VOICE":{"desc":"", "versionCode":"1", "isActive":"1"}, + "IS_SHOW_HEALTH_TIP":{"desc":"", "versionCode":"1", "isActive":"1"}, + "SPRITE_LOADER":{"desc":"", "versionCode":"1", "isActive":"1"}, + "UI_Layout_CanvasScaler":{"desc":"", "versionCode":"1", "isActive":"1"}, + "PACKAGE_CONFIG":{"desc":"", "versionCode":"1", "isActive":"1","value":"YX"}, + "IS_LOAD_STREAMING":{"desc":"", "versionCode":"1", "isActive":"1"}, + "CURVED_TEXT_CODE":{"desc":"", "versionCode":"1", "isActive":"1"}, + "IS_NO_TALKING":{"desc":"", "versionCode":"1", "isActive":"0"}, + "IS_SELECT_RESLUTION":{"desc":"","versionCode":"1","isActive":"1"}, + "INNER_WEB_CONTROL":{"desc":"","versionCode":"1","isActive":"1"}, + "IS_NULL":{"desc":"","versionCode":"5","isActive":"1"} + } +} \ No newline at end of file diff --git a/Root/lanjing/haofan/cdn_haofan_Ani/version.txt b/Root/lanjing/haofan/cdn_haofan_Ani/version.txt new file mode 100644 index 000000000..697046136 --- /dev/null +++ b/Root/lanjing/haofan/cdn_haofan_Ani/version.txt @@ -0,0 +1 @@ +{"subChannel":"2000","buglyId":"261348dcd3","channel":"HF","resUrl":"http://cdn-jl.lanjingshidai.com/haofan/","packageVersion":"0.1","version":"1.1.1","serverUrl":"http://60.1.1.161:8080/"} diff --git a/Tools/cos_aiwan_Ani/Flush.py b/Tools/cos_aiwan_Ani/Flush.py index 061693150..66529bd33 100644 --- a/Tools/cos_aiwan_Ani/Flush.py +++ b/Tools/cos_aiwan_Ani/Flush.py @@ -1,16 +1,35 @@ # -*- coding: utf-8 -*- import json import sys -import requests +from tencentcloud.common import credential +from tencentcloud.common.profile.client_profile import ClientProfile +from tencentcloud.common.profile.http_profile import HttpProfile +from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException +from tencentcloud.cdn.v20180606 import cdn_client, models + if sys.argv.__len__() == 2: - flashPath = sys.argv[1] - urlPath = "http://smi.51sfsy.com/mrj/cdnrefresh?nonce=1532319693&token=881d1b9844fb78c165dad28752d67eb8&dirs=" - # path = urlPath + "'" + flashPath +"'" - path = urlPath + flashPath - print(path) - r = requests.get(url= path) - print(r.status_code) - print(r.text) + try: + path = sys.argv[1] + cred = credential.Credential("AKIDWrwlJbAMyOaYGjuzlHciZHkxve7K7Fp8", "B7mALGwOaXJrACyThjUzDArITNUMPFp9") + httpProfile = HttpProfile() + httpProfile.endpoint = "cdn.tencentcloudapi.com" + + clientProfile = ClientProfile() + clientProfile.httpProfile = httpProfile + client = cdn_client.CdnClient(cred, "", clientProfile) + + req = models.PurgePathCacheRequest() + params = { + "Paths": [ path ], + "FlushType": "flush" + } + req.from_json_string(json.dumps(params)) + + resp = client.PurgePathCache(req) + print(resp.to_json_string()) + + except TencentCloudSDKException as err: + print(err) else: print("params error!") diff --git a/Tools/cos_aiwan_Ani/Flush_cdn.py b/Tools/cos_aiwan_Ani/Flush_cdn.py deleted file mode 100644 index d72b78a95..000000000 --- a/Tools/cos_aiwan_Ani/Flush_cdn.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -import json -import sys -from tencentcloud.common import credential -from tencentcloud.common.profile.client_profile import ClientProfile -from tencentcloud.common.profile.http_profile import HttpProfile -from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException -from tencentcloud.cdn.v20180606 import cdn_client, models - - -if sys.argv.__len__() == 2: - try: - path = sys.argv[1] - cred = credential.Credential("AKIDwhBYeT2LN8cqoa6ML2SbT5RVJq76pHSN", "f4C5h38vRhgPr2wZw2rPfeNpzsTord8M") - httpProfile = HttpProfile() - httpProfile.endpoint = "cdn.tencentcloudapi.com" - - clientProfile = ClientProfile() - clientProfile.httpProfile = httpProfile - client = cdn_client.CdnClient(cred, "", clientProfile) - - req = models.PurgePathCacheRequest() - params = { - "Paths": [ path ], - "FlushType": "flush" - } - req.from_json_string(json.dumps(params)) - - resp = client.PurgePathCache(req) - print(resp.to_json_string()) - - except TencentCloudSDKException as err: - print(err) -else: - print("params error!") diff --git a/Tools/cos_aiwan_Ani/UpLoad.py b/Tools/cos_aiwan_Ani/UpLoad.py index 0264cbdca..39961361a 100644 --- a/Tools/cos_aiwan_Ani/UpLoad.py +++ b/Tools/cos_aiwan_Ani/UpLoad.py @@ -79,9 +79,9 @@ class Cos_Upload(): self.IsThread = isThread # cdn config - self.bucket = '648sy-tcx-1251752472' - self.secret_id = "AKIDwhBYeT2LN8cqoa6ML2SbT5RVJq76pHSN" - self.secret_key = "f4C5h38vRhgPr2wZw2rPfeNpzsTord8M" + self.bucket = 'jl-1253729609' + self.secret_id = "AKIDWrwlJbAMyOaYGjuzlHciZHkxve7K7Fp8" + self.secret_key = "B7mALGwOaXJrACyThjUzDArITNUMPFp9" self.region = "ap-beijing" self.config = CosConfig(Region=self.region, SecretId=self.secret_id, SecretKey=self.secret_key, Token=None, Scheme='https') self.client = CosS3Client(self.config) diff --git a/Tools/cos_aiwan_Ani/UpLoad.pyc b/Tools/cos_aiwan_Ani/UpLoad.pyc deleted file mode 100644 index a905d146b..000000000 Binary files a/Tools/cos_aiwan_Ani/UpLoad.pyc and /dev/null differ diff --git a/Tools/cos_aiwan_Ani/悠谷CDN参数.txt b/Tools/cos_aiwan_Ani/悠谷CDN参数.txt deleted file mode 100644 index baf5fca82..000000000 --- a/Tools/cos_aiwan_Ani/悠谷CDN参数.txt +++ /dev/null @@ -1,8 +0,0 @@ -账号未提供 - -bucket = '648sy-tcx-1251752472' -secret_id = "AKIDwhBYeT2LN8cqoa6ML2SbT5RVJq76pHSN" -secret_key = "f4C5h38vRhgPr2wZw2rPfeNpzsTord8M" -region = "ap-beijing" - -域名:http://c-tcx.648sy.com/ \ No newline at end of file diff --git a/Tools/cos_aiwan_Ani/蓝鲸CDN参数.txt b/Tools/cos_aiwan_Ani/蓝鲸CDN参数.txt new file mode 100644 index 000000000..2404a44cf --- /dev/null +++ b/Tools/cos_aiwan_Ani/蓝鲸CDN参数.txt @@ -0,0 +1,8 @@ +账号未提供 + +bucket = 'jl-1253729609' +secret_id = "AKIDWrwlJbAMyOaYGjuzlHciZHkxve7K7Fp8" +secret_key = "B7mALGwOaXJrACyThjUzDArITNUMPFp9" +region = "ap-beijing" + +域名:http://cdn-jl.lanjingshidai.com/ \ No newline at end of file