Giter Site home page Giter Site logo

wechat-php-site's Introduction

CommonInfo.class 公共类,取IP地址 TianQi.class 天气预报类 weather_cityId 天气的城市名和代码对应关系 BiaoQing.class 表情处理 Wechat.class 微信类think库

调用的链为 IndexController.class 是入口,调用扩展的类函数 WeChatController.class 主处理函数,根据来源信息的类型进行处理,其中分支逻辑处理部分为 SUB01.class 和 SUB02.class Wechat.class 是封装的类库。目前根据thinkPHP3.2的要求,增加了命名空间和修改了读取参数配置,增加了将错误信息回复文本,方便调试

  1. wechat.class.php
    调用官方API,具有更灵活的消息分类响应方式,支持链式调用操作 ;

  2. wechatext.class.php
    非官方扩展API,

  3. wechatauth.class.php
    通过微信二维码登陆微信的API, 能实现第三方网站同步登陆,

  4. snoopy.class 一个抓取网页的类

参数配置在 \Application\WeChatAPI\Conf\

数据库SQL

CREATE TABLE IF NOT EXISTS think_mysql ( id int(11) NOT NULL AUTO_INCREMENT, from_user varchar(40) DEFAULT NULL, account varchar(40) DEFAULT NULL, password varchar(40) DEFAULT NULL, update_time datetime DEFAULT NULL, PRIMARY KEY (id), UNIQUE KEY from_user (from_user) )

wechat-php-site's People

Contributors

datahome73 avatar

Watchers

 avatar  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.