From 971929512da0ea0f55881681f7a4a32e01463ba6 Mon Sep 17 00:00:00 2001
From: ifwlzs <49548316+ifwlzs@users.noreply.github.com>
Date: Mon, 11 Oct 2021 11:22:33 +0800
Subject: [PATCH 1/4] Update readme.md
---
readme.md | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/readme.md b/readme.md
index 5e50b51..23fb3f0 100644
--- a/readme.md
+++ b/readme.md
@@ -20,7 +20,9 @@ Please read the descriptions of settings before raising an issue.
### How to Install
-> ~~Click the button [](https://heroku.com/deploy) to Deploy a new app~~(`"We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."`)
+> ~~Click the button [](https://heroku.com/deploy) to Deploy a new app~~
+>
+> (`"We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."`)
>
> Fork this project, create a heroku app, then turn to Deploy tab, deploy via connect to your github fork.
@@ -81,13 +83,9 @@ Please read the descriptions of settings before raising an issue.
### How to Install
1. 进入函数服务,上方选择地区,然后点击新建。
-
2. 输入函数名称,选择模板函数,在模糊搜索中输入onedrive,大小写随意,选择那个【获取onedrive信息.....】,点下一步,在代码界面不用动,直接点完成。
-
3. 点击触发管理,创建触发器,触发方式改成API网关触发,底下勾选启用集成响应,提交。
-
4. 在触发管理中可以看到一个 访问路径,访问它,开始安装。
-
(重点:**勾选集成响应**)
> **添加网盘时,SCF可能会反应不过来,不跳转到微软,导致添加失败,请不要删除这个盘,再添加一次相同标签的盘就可以了。**
@@ -127,7 +125,7 @@ Please read the descriptions of settings before raising an issue.
### DEMO
- 无
+ 暂无
### How to Install
@@ -158,10 +156,10 @@ Please read the descriptions of settings before raising an issue.
1. 在函数列表,点创建函数
2. 创建方式改为空白函数,点下一步
- 3. 输入名称,选择运行时为PHP7.2,点下一步
- 4. 触发器:下拉选择HTTP触发器,URL路径填 /{filepath+} ,HTTP方法全选,身份验证:不验证,点提交
- 5. 进入代码编辑页,编辑类型改上传函数ZIP包,选择文件(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。),开始上传
- 6. 点击右边触发器,复制并访问提供的url,开始安装
+3. 输入名称,选择运行时为PHP7.2,点下一步
+4. 触发器:下拉选择HTTP触发器,URL路径填 /{filepath+} ,HTTP方法全选,身份验证:不验证,点提交
+5. 进入代码编辑页,编辑类型改上传函数ZIP包,选择文件(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。),开始上传
+6. 点击右边触发器,复制并访问提供的url,开始安装
---
@@ -170,7 +168,7 @@ Please read the descriptions of settings before raising an issue.
### DEMO
-暂无
+ 暂无
### How to Install
@@ -262,11 +260,6 @@ it will showed at top or bottom as html (javascript works!).
> 以html显示在顶部或底部(可以跑js)。
-----
-
-# A cup of coffee
-
-https://paypal.me/qkqpttgf
-----
@@ -281,3 +274,15 @@ https://paypal.me/qkqpttgf
### Telegram Group
https://t.me/joinchat/I_RVc0bqxuxlT-d0cO7ozw
+
+----
+
+# A cup of coffee
+
+|PayPal|WeChat|
+|:--:|:--:|
+|
|
|
+
+
+
+
From 64a091cced2252205474540ce54972e33983e256 Mon Sep 17 00:00:00 2001
From: ifwlzs <49548316+ifwlzs@users.noreply.github.com>
Date: Mon, 11 Oct 2021 11:38:38 +0800
Subject: [PATCH 2/4] Update readme.md
---
readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/readme.md b/readme.md
index 23fb3f0..d5247dc 100644
--- a/readme.md
+++ b/readme.md
@@ -281,7 +281,7 @@ https://t.me/joinchat/I_RVc0bqxuxlT-d0cO7ozw
|PayPal|WeChat|
|:--:|:--:|
-|
|
|
+|
|
|
From 785f614c339938ae7b5ec7710ffe37a513c4b7fa Mon Sep 17 00:00:00 2001
From: ifwlzs <49548316+ifwlzs@users.noreply.github.com>
Date: Mon, 11 Oct 2021 11:44:14 +0800
Subject: [PATCH 3/4] Update readme.md
---
readme.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/readme.md b/readme.md
index d5247dc..92363d7 100644
--- a/readme.md
+++ b/readme.md
@@ -23,8 +23,10 @@ Please read the descriptions of settings before raising an issue.
> ~~Click the button [](https://heroku.com/deploy) to Deploy a new app~~
>
> (`"We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."`)
+> > (`“我们无法部署您的应用程序,因为源代码违反了 Salesforce 可接受使用和面向外部的服务政策。"`)
>
-> Fork this project, create a heroku app, then turn to Deploy tab, deploy via connect to your github fork.
+> Fork this project, create a heroku app, then turn to Deploy tab, deploy via connect to your github fork.
+> > Fork 这个项目,创建一个 heroku 应用程序,然后转到 Deploy 选项卡,通过连接到你的 github fork 进行部署。
---
@@ -52,7 +54,7 @@ Please read the descriptions of settings before raising an issue.
### Demo
- null
+ 暂无
### Notice
From 77f137b10a0e8a69a25b1eefe3d634cd1a2209e6 Mon Sep 17 00:00:00 2001
From: ifwlzs <49548316+ifwlzs@users.noreply.github.com>
Date: Mon, 11 Oct 2021 11:50:57 +0800
Subject: [PATCH 4/4] Update readme.md
---
readme.md | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/readme.md b/readme.md
index 92363d7..16c4600 100644
--- a/readme.md
+++ b/readme.md
@@ -59,8 +59,10 @@ Please read the descriptions of settings before raising an issue.
### Notice
> 1. you must wait 30-50s to make sure deploy READY after change config;
+>>1. 您必须等待 30-50 秒以确保在更改配置后部署;
>
> 2. Vercel limit 100 deploy every day.
+>>2. Vercel 限制每天部署 100 次。
### How to Install
@@ -176,23 +178,23 @@ Please read the descriptions of settings before raising an issue.
1. Start web service on your server (httpd or other), make sure you can visit it.
- >启动web服务器,确保你能访问到。
+ > 启动web服务器,确保你能访问到。
2. Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
-
- >开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
+
+ > 开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
3. Upload code.
- >上传好代码。
+ > 上传好代码。
4. Change the file .data/config.php can be read&write (666 is suggested).
- >使web身份可读写代码中的.data/config.php文件,推荐chmod 666 .data/config.php。
+ > 使web身份可读写代码中的.data/config.php文件,推荐chmod 666 .data/config.php。
5. View the website in chrome or other.
- >在浏览器中访问。
+ > 在浏览器中访问。
----
@@ -246,17 +248,13 @@ show content of index.html as html.
> 将index.html以静态网页显示出来。
-### head.md
-
-### readme.md
+### head.md & readme.md
it will showed at top or bottom as markdown.
> 以MD语法显示在顶部或底部。
-### head.omf
-
-### foot.omf
+### head.omf & foot.omf
it will showed at top or bottom as html (javascript works!).