Coder Social home page Coder Social logo

wechatte's Introduction

WechatTe --- typecho 小程序插件以及小程序框架

最近闲来有空,就自己开发了一套对接typecho框架的微信小程序------WechatTe

  • 小程序前端框架 vant-weapp微信官方组件
  • 博客本文章地址
  • 本小程序美观、简洁、大方。
  • 后端数据缓存驱动提供了MemcacheRedis
  • 请求数据加密。
  • 数据动态更新。
  • 首页轮播图、个人中心头图、个人中心名称、关于我、座右铭、博客地址、个人中心邮箱、版权等展示方面的配置。
  • 主要页面有首页分类列表标签列表文章详情页文章归档个人中心等页面。

图片展示

  • 首页、分类/标签文章页、文章归档页、标签页、个人中心

安装

  • 微信公共号平台配置
    • 获取AppID : 开发管理 -> 开发设置 -> AppID(小程序ID)
    • request合法域名配置(你的接口域名): https://xxxxx.net
  • 获取代码(blog为小程序源码文件;WechatTe为typecho小程序插件)
  • 插件上传安装
    • 上传WechatTe到网站插件目录(/usr/plugins/)
    • 启用插件WechatTe
  • 配置项
    • 首页轮播图配置 : 按例子格式配置
    • 通信密钥: 配置api密钥
    • 分类隐藏 (首页搜索、首页列表、和分类列表)
    • 个人中心
      • 个人中心头图
      • 个人中心名称
      • 关于我
      • 座右铭
      • 博客地址
      • 个人中心邮箱
      • 个人中心版权说明
    • 小程序版权
      • 小程序底部版权
    • 缓存相关的
      • 缓存过期时间
      • 缓存驱动
      • 主机地址
      • 端口号
      • 连接密码
      • 是否清除当前缓存
  • 下载微信开发者工具并以你上面获取的AppID导入blog目录
    • 修改config.js配置
      • domain 为你接口的域名,该域名在上面必须微信公共号平台配置在request合法域名配置里面
      • app_secret 为WechatTe插件后台配置的通信密钥
  • 这样你就可以访问你的小程序了,上传到服务器等着审核就可以了

wechatte's People

Contributors

niuzheng131400 avatar

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.