diff --git a/.gitignore b/.gitignore index a952231..e41d212 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,8 @@ __pycache__/ # 数据库 *.db -# 运行时数据(配置、皮肤包) -backend/data/ +# 运行时数据 +backend/data/*.bak # 日志 logs/ diff --git a/backend/data/config.json b/backend/data/config.json new file mode 100644 index 0000000..53b8ba2 --- /dev/null +++ b/backend/data/config.json @@ -0,0 +1,449 @@ +{ + "apps": { + "100": { + "name": "阅门户测试App", + "server": "测试环境", + "AppGuid": "647372741900537856", + "API": "https://api3-dev.readoor.cn", + "AssDom": "applinks:dev-data1.readoor.cn", + "UniversalLink": "https://dev-data1.readoor.cn", + "weixinlogin": "wx30847bd529fe856c", + "weixinpay": "wx30847bd529fe856c", + "tencent": "tencent1105839866", + "certificates": { + "Ad_Hoc": { + "name": "cn.touchv.a4YX061", + "pro": "a4YX061_adHoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + } + }, + "upload_key": "0e6b269a", + "skins": [ + "ymh.zip" + ] + }, + "101": { + "name": "申学", + "server": "测试环境", + "AppGuid": "571681541265068032", + "API": "https://api3-dev.readoor.cn", + "AssDom": "applinks:dev-data1.readoor.cn", + "UniversalLink": "https://dev-data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "wx30847bd529fe856c", + "weixinpay": "wx30847bd529fe856c", + "tencent": "tencent1105839866", + "certificates": { + "Ad_Hoc": { + "name": "com.kingsunsoft.CollectionBooks.Xinhua", + "pro": "TouchLinked_adHoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + } + }, + "upload_key": "c843d672", + "skins": [ + "ymh.zip" + ] + }, + "102": { + "name": "英汉大词典测试", + "server": "测试环境", + "AppGuid": "1593413622", + "API": "https://api3-dev.readoor.cn", + "certificates": { + "Ad_Hoc": { + "name": "com.yiwen.ecdstandalone", + "pro": "TouchLinked_adHoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "weread" + } + }, + "upload_key": "9b470281", + "skins": [ + "weread.zip" + ] + }, + "103": { + "name": "英汉大词典", + "server": "正式环境", + "AppGuid": "1607584582", + "API": "https://api3.readoor.cn", + "certificates": { + "Ad_Hoc": { + "name": "com.yiwen.ecdstandalone", + "pro": "ecdstandalone_Adhoc", + "cer": "iPhone Distribution: Shanghai Translation Publishing House (8S29652W62)", + "theme": "" + }, + "App_Store": { + "name": "com.yiwen.ecdstandalone", + "pro": "ecdstandalone_provisioning_profiles", + "cer": "iPhone Distribution: Shanghai Translation Publishing House (8S29652W62)", + "theme": "" + } + }, + "upload_key": "2e743ca9" + }, + "201": { + "name": "3.1版测试", + "server": "正式环境", + "AppGuid": "447445078487633920", + "API": "https://api3.readoor.cn", + "AssDom": "applinks:data1.readoor.cn", + "UniversalLink": "https://data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "", + "weixinpay": "", + "tencent": "", + "certificates": { + "Ad_Hoc1": { + "name": "cn.touchv.a0yny24", + "pro": "a0yny24_adhoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + }, + "Ad_Hoc": { + "name": "cn.touchv.a4YX061", + "pro": "a4YX061_adHoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + } + }, + "upload_key": "2522c9bb", + "skins": [ + "ymh.zip" + ] + }, + "202": { + "name": "北教辅学", + "server": "正式环境", + "AppGuid": "416182063440367616", + "API": "https://api3.readoor.cn", + "AssDom": "applinks:data1.readoor.cn", + "UniversalLink": "https://data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "wx1416817fa79df772", + "weixinpay": "wx1416817fa79df772", + "tencent": "", + "certificates": { + "App_Store": { + "name": "cn.touchv.adsATM4", + "pro": "beijiaofuxue", + "cer": "iPhone Distribution: Jingban Beijing Education Culture Media Corporation Limited (343SD396U6)", + "theme": "bj" + } + }, + "upload_key": "ca03a41b", + "skins": [ + "bj.zip" + ] + }, + "203": { + "name": "智慧云学", + "server": "正式环境", + "AppGuid": "576814720200249344", + "API": "https://api3.readoor.cn", + "AssDom": "applinks:data1.readoor.cn", + "UniversalLink": "https://data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "", + "weixinpay": "", + "tencent": "", + "certificates": { + "Ad_Hoc": { + "name": "cn.touchv.a4YX061", + "pro": "a4YX061_adHoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + } + }, + "upload_key": "689c69a2", + "skins": [ + "ymh.zip" + ] + }, + "204": { + "name": "北洋学堂", + "server": "正式环境", + "AppGuid": "559336679295455232", + "API": "https://api3.readoor.cn", + "AssDom": "applinks:data1.readoor.cn", + "UniversalLink": "https://data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "wx1df85bf317e35171", + "weixinpay": "wx1df85bf317e35171", + "tencent": "", + "certificates": { + "App_Store": { + "name": "cn.tjdxcbs.aBEM0B3", + "pro": "beiyangxuetang", + "cer": "iPhone Distribution: Tianjin University Press Co., Ltd.. (D3NDDP8CZU)", + "theme": "byxt" + } + }, + "upload_key": "27fb0395", + "skins": [ + "byxt.zip" + ] + }, + "205": { + "name": "交我学", + "server": "正式环境", + "AppGuid": "119822865246760960", + "API": "https://api3.readoor.cn", + "AssDom": "applinks:data1.readoor.cn", + "UniversalLink": "https://data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "", + "weixinpay": "", + "tencent": "", + "certificates": { + "Ad_Hoc": { + "name": "cn.touchv.a4YX061", + "pro": "a4YX061_adHoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + } + }, + "upload_key": "0718cd13", + "skins": [ + "ymh.zip" + ] + }, + "206": { + "name": "上财云津", + "server": "正式环境", + "AppGuid": "389000208056356864", + "API": "https://api3.readoor.cn", + "AssDom": "applinks:data1.readoor.cn", + "UniversalLink": "https://data1.readoor.cn", + "AlivcLicenseKey": "", + "weixinlogin": "wx6f1163efcb202265", + "weixinpay": "wx6f1163efcb202265", + "tencent": "", + "certificates": { + "Ad_Hoc": { + "name": "cn.shcj.aGh0UB2", + "pro": "aGh0UB2_adhoc", + "cer": "iPhone Distribution: Shanghai University of Finance and Economics Press Co., Ltd. (8S29L934WG)", + "theme": "shangcai" + }, + "App_Store": { + "name": "cn.shcj.aGh0UB2", + "pro": "aGh0UB2_dis", + "cer": "iPhone Distribution: Shanghai University of Finance and Economics Press Co., Ltd. (8S29L934WG)", + "theme": "shangcai" + } + }, + "upload_key": "8e326070", + "skins": [ + "shangcai.zip" + ] + }, + "301": { + "name": "教育汇", + "server": "华师大环境", + "AppGuid": "152115765687226368", + "API": "https://api3.ecnupress.com.cn", + "AssDom": "applinks:data1.ecnupress.com.cn", + "UniversalLink": "https://data1.ecnupress.com.cn", + "AlivcLicenseKey": "jPtBO1QJzkkHLu3F896a0569e78de46979050fb2605a6a2a5", + "weixinlogin": "wx9e23021f7f4313c0", + "weixinpay": "wx9e23021f7f4313c0", + "tencent": "tencent1105919518", + "certificates": { + "Ad_Hoc": { + "name": "com.ecnup.aSCLdl2", + "pro": "aSCLdl2_adhoc", + "cer": "iPhone Distribution: East China Normal University Press Ltd (Q659D4XU6T)", + "theme": "hsd" + }, + "App_Store": { + "name": "com.ecnup.aSCLdl2", + "pro": "com-ecnup-aSCLdl2_Distribution", + "cer": "iPhone Distribution: East China Normal University Press Ltd (Q659D4XU6T)", + "theme": "hsd" + } + }, + "upload_key": "f6fe827d", + "skins": [ + "hsd.zip" + ] + }, + "302": { + "name": "教育汇测试", + "server": "华师大环境", + "AppGuid": "335068450529882112", + "API": "https://api3.ecnupress.com.cn", + "AssDom": "applinks:data1.ecnupress.com.cn", + "UniversalLink": "https://data1.ecnupress.com.cn", + "AlivcLicenseKey": "", + "weixinlogin": "wx9e23021f7f4313c0", + "weixinpay": "wx9e23021f7f4313c0", + "tencent": "tencent1105919518", + "certificates": { + "Ad_Hoc": { + "name": "com.ecnup.a4PBPk", + "pro": "a4PBPk_adhoc", + "cer": "iPhone Distribution: East China Normal University Press Ltd (Q659D4XU6T)", + "theme": "hsd" + } + }, + "upload_key": "4f9c7953", + "skins": [ + "hsd.zip" + ] + }, + "303": { + "name": "大夏书系", + "server": "华师大环境", + "AppGuid": "639419713965142016", + "API": "https://api3.ecnupress.com.cn", + "AssDom": "applinks:data1.ecnupress.com.cn", + "UniversalLink": "https://data1.ecnupress.com.cn", + "AlivcLicenseKey": "jPtBO1QJzkkHLu3F896a0569e78de46979050fb2605a6a2a5", + "weixinlogin": "wx1d95492fee2ce298", + "weixinpay": "wx1d95492fee2ce298", + "tencent": "", + "certificates": { + "Ad_Hoc": { + "name": "com.ecnup.aaS16d3", + "pro": "aaS16d3_adhoc", + "cer": "iPhone Distribution: East China Normal University Press Ltd (Q659D4XU6T)", + "theme": "dxsx" + }, + "App_Store": { + "name": "com.ecnup.aaS16d3", + "pro": "aaS16d3_dis", + "cer": "iPhone Distribution: East China Normal University Press Ltd (Q659D4XU6T)", + "theme": "dxsx" + } + }, + "upload_key": "a29091d9", + "skins": [ + "dxsx.zip" + ] + }, + "304": { + "name": "HSD测试App", + "server": "华师大环境", + "AppGuid": "470235916070694912", + "API": "https://api3.ecnupress.com.cn", + "AssDom": "applinks:data1.ecnupress.com.cn", + "UniversalLink": "https://data1.ecnupress.com.cn", + "AlivcLicenseKey": "", + "weixinlogin": "wx9e23021f7f4313c0", + "weixinpay": "wx9e23021f7f4313c0", + "tencent": "tencent1105919518", + "certificates": { + "Ad_Hoc": { + "name": "cn.touchv.aO3pOM", + "pro": "aO3pOM_adhoc", + "cer": "iPhone Distribution: Shanghai TouchLinked Info & Tech Co.,Ltd. (MG4Z7FU83W)", + "theme": "ymh" + } + }, + "upload_key": "86bfb114", + "skins": [ + "ymh.zip" + ] + }, + "401": { + "name": "WE Read", + "server": "外教环境", + "AppGuid": "631907986336071680", + "API": "https://weread-api3.sflep.com/api3", + "AssDom": "applinks:wereadossda.sflep.com", + "UniversalLink": "https://wereadossda.sflep.com", + "AlivcLicenseKey": "", + "weixinlogin": "wx6d6c63f4df7e5720", + "weixinpay": "", + "tencent": "", + "certificates": { + "Ad_Hoc": { + "name": "cn.sflep.aSiLjn", + "pro": "cn_sflep_aSiLjn_adhoc", + "cer": "iPhone Distribution: Shanghai Foreign Language Education Press Co.,Ltd. (G4X56AY2VB)", + "theme": "weread" + }, + "App_Store": { + "name": "cn.sflep.aSiLjn", + "pro": "cn-sflep-aSiLjn", + "cer": "iPhone Distribution: Shanghai Foreign Language Education Press Co.,Ltd. (G4X56AY2VB)", + "theme": "weread" + } + }, + "upload_key": "87e7656f", + "skins": [ + "weread.zip" + ] + } + }, + "schemes": { + "1": { + "name": "readoor31", + "ossFloder": "readoor" + }, + "2": { + "name": "readoor31OtherPay", + "ossFloder": "readoor" + }, + "3": { + "name": "readoorShenXue", + "ossFloder": "readoor" + }, + "4": { + "name": "readoorDict", + "ossFloder": "ecdict" + } + }, + "servers": { + "测试环境": { + "api": "https://api3-dev.readoor.cn", + "assDom": "applinks:dev-data1.readoor.cn", + "universalLink": "https://dev-data1.readoor.cn" + }, + "正式环境": { + "api": "https://api3.readoor.cn", + "assDom": "applinks:data1.readoor.cn", + "universalLink": "https://data1.readoor.cn" + }, + "华师大环境": { + "api": "https://api3.ecnupress.com.cn", + "assDom": "applinks:data1.ecnupress.com.cn", + "universalLink": "https://data1.ecnupress.com.cn" + }, + "外教环境": { + "api": "https://weread-api3.sflep.com/api3", + "assDom": "applinks:wereadossda.sflep.com", + "universalLink": "https://wereadossda.sflep.com" + } + }, + "branches": [ + "main" + ], + "upload": { + "mode": "webdav", + "oss": { + "access_key_id": "", + "access_key_secret": "", + "endpoint": "oss-cn-beijing.aliyuncs.com", + "bucket_name": "", + "base_url": "" + }, + "webdav": { + "server_url": "http://192.168.21.200:5005", + "username": "slcydia", + "password": "S9rr9359p:4o)nfel?W", + "base_path": "/APPBuildInfo", + "public_url": "http://192.168.21.200:5005/APPBuildInfo" + }, + "dingtalk": { + "enabled": false, + "webhook_url": "", + "secret": "" + } + } +} \ No newline at end of file diff --git a/backend/data/skins/0718cd13/ymh.zip b/backend/data/skins/0718cd13/ymh.zip new file mode 100644 index 0000000..2214cfb Binary files /dev/null and b/backend/data/skins/0718cd13/ymh.zip differ diff --git a/backend/data/skins/0e6b269a/ymh.zip b/backend/data/skins/0e6b269a/ymh.zip new file mode 100644 index 0000000..2214cfb Binary files /dev/null and b/backend/data/skins/0e6b269a/ymh.zip differ diff --git a/backend/data/skins/2522c9bb/ymh.zip b/backend/data/skins/2522c9bb/ymh.zip new file mode 100644 index 0000000..2214cfb Binary files /dev/null and b/backend/data/skins/2522c9bb/ymh.zip differ diff --git a/backend/data/skins/27fb0395/byxt.zip b/backend/data/skins/27fb0395/byxt.zip new file mode 100644 index 0000000..c34ee4e Binary files /dev/null and b/backend/data/skins/27fb0395/byxt.zip differ diff --git a/backend/data/skins/4f9c7953/hsd.zip b/backend/data/skins/4f9c7953/hsd.zip new file mode 100644 index 0000000..6b7a000 Binary files /dev/null and b/backend/data/skins/4f9c7953/hsd.zip differ diff --git a/backend/data/skins/689c69a2/ymh.zip b/backend/data/skins/689c69a2/ymh.zip new file mode 100644 index 0000000..2214cfb Binary files /dev/null and b/backend/data/skins/689c69a2/ymh.zip differ diff --git a/backend/data/skins/86bfb114/ymh.zip b/backend/data/skins/86bfb114/ymh.zip new file mode 100644 index 0000000..2214cfb Binary files /dev/null and b/backend/data/skins/86bfb114/ymh.zip differ diff --git a/backend/data/skins/87e7656f/weread.zip b/backend/data/skins/87e7656f/weread.zip new file mode 100644 index 0000000..86b9575 Binary files /dev/null and b/backend/data/skins/87e7656f/weread.zip differ diff --git a/backend/data/skins/8e326070/shangcai.zip b/backend/data/skins/8e326070/shangcai.zip new file mode 100644 index 0000000..5419ba8 Binary files /dev/null and b/backend/data/skins/8e326070/shangcai.zip differ diff --git a/backend/data/skins/9b470281/weread.zip b/backend/data/skins/9b470281/weread.zip new file mode 100644 index 0000000..86b9575 Binary files /dev/null and b/backend/data/skins/9b470281/weread.zip differ diff --git a/backend/data/skins/a29091d9/dxsx.zip b/backend/data/skins/a29091d9/dxsx.zip new file mode 100644 index 0000000..8e52ac4 Binary files /dev/null and b/backend/data/skins/a29091d9/dxsx.zip differ diff --git a/backend/data/skins/c843d672/ymh.zip b/backend/data/skins/c843d672/ymh.zip new file mode 100644 index 0000000..2214cfb Binary files /dev/null and b/backend/data/skins/c843d672/ymh.zip differ diff --git a/backend/data/skins/ca03a41b/bj.zip b/backend/data/skins/ca03a41b/bj.zip new file mode 100644 index 0000000..74d2114 Binary files /dev/null and b/backend/data/skins/ca03a41b/bj.zip differ diff --git a/backend/data/skins/f6fe827d/hsd.zip b/backend/data/skins/f6fe827d/hsd.zip new file mode 100644 index 0000000..6b7a000 Binary files /dev/null and b/backend/data/skins/f6fe827d/hsd.zip differ