From 6f28c438807d09d5f2016b09b1c15933effc568d Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Tue, 14 Feb 2023 09:59:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20docs:=20=E6=9B=B4=E6=96=B0README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bf79cd..f479a44 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,16 @@ apps -- 业务核心 config -- 配置文件 +img -- readme图片 + model -- 核心文件[建议不动] resource -- 资源文件 test -- 爬虫文件[python] +utils -- 工具类 + index -- 主入口 ## 🧏‍♂️使用实例 @@ -116,11 +120,13 @@ async tuiimg (e) { ### 其他进阶操作 【可选】相关配置(apps/tools.js): > twiiter-api:https://developer.twitter.com/en -注册完之后将`Bearer Token`填入app/tools.js twitter方法的TwitterApi后面的单引号里 +注册完之后将`Bearer Token`填入app/tools.js twitter方法的TwitterApi后面的单引号里`const twitterClient = new TwitterApi('', {httpAgent});` > 百度翻译api:https://fanyi-api.baidu.com/doc/21 注册完填入方式参考上方注释url (app/tools.js) +> 更改proxy地址在tools的71行: +`this.proxyAddr = '10.0.8.10';` ## 📦业务 ![help](./img/help.jpg)