yizenghui / wecontr Goto Github PK
View Code? Open in Web Editor NEW小程序 内容管理系统CMS 适合站长和自媒体 含积分兑换商城 推荐锁粉奖励等玩法
License: MIT License
小程序 内容管理系统CMS 适合站长和自媒体 含积分兑换商城 推荐锁粉奖励等玩法
License: MIT License
安装(更新) 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
必填项:
选填项:
激励式视频广告ID (开通浏览主后获得)
banner广告ID (开通浏览主后获得)
搜索默认值 (搜索框默认值)
wxcms案例
格式:
二维码
名称
简短介绍
获取并解压dist.7ip
到你的本地
注册小程序 获取 AppID(小程序ID) AppSecret(小程序密钥)
登录后台获取api token (假设是wRZJFqYAvbRk
) 链接: https://readfollow.com/admin/auth/setting#tab-form-2 并设置 AppID,AppSecret
替换 dist/app.js 中的 api_token (用文本编辑器打开搜索'api_token') api_token:"0RPJhqvW6gMp",
中的0RPJhqvW6gMp
替换为你的api tokenwRZJFqYAvbRk
开发者工具导入项目,选择根目录中的 dist 为代码目录,设置appid为自己 AppID(小程序ID)
小程序后台添加
request合法域名 https://readfollow.com
downloadFile合法域名 https://wx1.wechatrank.com, https://readfollow.com
后台地址 https://readfollow.com/admin
注意:请关闭 ES6 转 ES5
email: [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.