GithubHelp home page GithubHelp logo

yizenghui / wecontr Goto Github PK

View Code? Open in Web Editor NEW
53.0 4.0 15.0 4.46 MB

小程序 内容管理系统CMS 适合站长和自媒体 含积分兑换商城 推荐锁粉奖励等玩法

License: MIT License

JavaScript 100.00%
wepy colorui wechat miniprogram cms blog

wecontr's People

Contributors

ganeasy avatar yize1992 avatar yizenghui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wecontr's Issues

二次开发

二次开发

安装(更新) wepy 命令行工具。
npm install wepy-cli -g

获取小程序端代码
git clone https://github.com/yizenghui/wxcms.git

或者下载文件并解压 https://github.com/yizenghui/wxcms/archive/master.zip

进入根目录 cd wxcms

安装依赖 npm install

开发实时编译 wepy build --watch

修改小程序配置 src/app.wpy

api_token: '0RPJhqvW6gMp',

修改0RPJhqvW6gMp为由 https://readfollow.com/admin/auth/setting#tab-form-2 所获得的 api token

开发者工具导入项目

选择根目录中的 dist 为代码目录

注意:请关闭 ES6 转 ES5

小程序参数设置

必填项:

  • 应用名称
  • AppID
  • AppSecret

选填项:
激励式视频广告ID (开通浏览主后获得)
banner广告ID (开通浏览主后获得)
搜索默认值 (搜索框默认值)

功能介绍

  • 小程序设置(参数、运营)
  • 文章管理
  • 作者管理
  • 专题管理
  • 商品管理
  • 粉丝管理
  • Boss
  • 订单

案例

wxcms案例
格式:
二维码
名称
简短介绍

安装教程(快速安装)

快速接入

  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. 小程序后台添加

后台操作:

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

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

注意:请关闭 ES6 转 ES5

技术支持(兼职客服)

email: [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.