add platform: Baidu CFC

pull/128/head
qkqpttgf 2020-08-16 11:43:41 +08:00 committed by GitHub
parent 43ce495d76
commit f6a8243a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -59,6 +59,20 @@ How to Install:
6访问你的域名开始安装
# Deploy to Baidu Cloud Function Compute (CFC 百度云函数计算)
Official: https://console.bce.baidu.com/cfc/#/cfc/functions
DEMO: 无
自定义域名需要另外使用API网关并备案。
How to Install:
1在函数列表点创建函数
2创建方式改为空白函数点下一步
3输入名称选择运行时为PHP7.2,点下一步
4触发器下拉选择HTTP触发器URL路径填 /{filepath+} HTTP方法全选身份验证不验证点提交
5进入代码编辑页编辑类型改上传函数ZIP包选择文件这里的ZIP文件不能直接用从Github上下载的ZIP文件要将它解压后去掉外层文件夹后再压缩为ZIP。开始上传
6点击右边触发器复制并访问提供的url开始安装
# Features 特性
When downloading files, the program produce a direct url, visitor download files from MS OFFICE via the direct url, the server expend a few bandwidth in produce.
下载时由程序解析出直链浏览器直接从微软Onedrive服务器下载文件服务器只消耗与微软通信的少量流量。