File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Edition : 3.0.0
22Type : Project
33Name : start-repack-apk-cap
4- Version : 0.0.5
4+ Version : 0.0.6
55Provider :
66 - 阿里云
77Description : 基于本案例,您可以快捷部署一个弹性高可用的“Serverless实现实时 APK 渠道分包”服务。该方案适用于大规模、多渠道的游戏分发场景,特别是在面临频繁且多变的下载请求时,能够通过系统实时获取并下载包含定制渠道号的游戏 APK 包,确保即使在连接不稳定的情况下也能顺利完成游戏的获取。
@@ -66,3 +66,15 @@ Parameters:
6666 default : get-apk-${default-suffix}
6767 pattern : " ^[a-zA-Z_][a-zA-Z0-9-_]{0,127}$"
6868 description : 应用的函数名称, 只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
69+
70+ roleArn :
71+ title : RAM角色ARN
72+ type : string
73+ default : " "
74+ description : " 函数计算访问对象存储OSS服务时使用的函数角色"
75+ required : true
76+ x-role :
77+ name : aliyunfcdefaultrole
78+ service : fc
79+ authorities :
80+ - AliyunOSSFullAccess
Original file line number Diff line number Diff line change 103103
104104![ ] ( https://img.alicdn.com/imgextra/i3/O1CN01W8rPnG1R1rVDcK7TN_!!6000000002052-2-tps-2612-854.png )
105105
106+ 如果没有强制回源了,参考如下截图
107+
108+ ![ ] ( https://img.alicdn.com/imgextra/i3/O1CN01uYP7qO1ehcuia7PCo_!!6000000003903-2-tps-1480-462.png )
109+
106110#### 3. 使用浏览器断点下载指定渠道 apk 包
107111
108112比如:
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ resources:
4444 logConfig : auto
4545 vpcConfig : auto
4646 nasConfig : auto
47+ role : ' {{ roleArn }}'
4748 triggers :
4849 - qualifier : LATEST
4950 triggerName : defaultTrigger
You can’t perform that action at this time.
0 commit comments