wecontr icon indicating copy to clipboard operation
wecontr copied to clipboard

安装教程(快速安装)

Open yizenghui opened this issue 6 years ago • 0 comments

快速接入

  1. 获取并解压dist.7ip到你的本地

  2. 注册小程序 获取 AppID(小程序ID) AppSecret(小程序密钥)

  3. 登录后台获取api token (假设是wRZJFqYAvbRk ) 链接: https://readfollow.com/admin/auth/setting#tab-form-2 并设置 AppID,AppSecret

  4. 替换 dist/app.js 中的 api_token (用文本编辑器打开搜索'api_token') api_token:"0RPJhqvW6gMp", 中的0RPJhqvW6gMp替换为你的api tokenwRZJFqYAvbRk

  5. 开发者工具导入项目,选择根目录中的 dist 为代码目录,设置appid为自己 AppID(小程序ID)

  6. 小程序后台添加

    • request合法域名 https://readfollow.com

    • downloadFile合法域名 https://wx1.wechatrank.com, https://readfollow.com

后台操作:

后台地址 https://readfollow.com/admin

  1. 添加专题, 需要背景图、名称和描述
  2. 添加作者, 只有名字也可以
  3. 添加文章, 标题、描述、封面、正文等。
  4. 添加轮播, 首页和后台都务必添加至少一个

注意:请关闭 ES6 转 ES5

技术支持(兼职客服)

email: [email protected]

yizenghui avatar Jun 14 '19 11:06 yizenghui