GithubHelp home page GithubHelp logo

wxworkmessageaudit's Introduction

WxworkMessageAudit

企业微信会话存档, 基于企业微信C版官方SDK封装的php7的扩展,在laravel 8 下实现schedule,来定时抓取企业微信会话并存到数据库内,暂时只支持在linux环境下使用。

官方文档地址

https://open.work.weixin.qq.com/api/doc/90000/90135/91774

PHP7的扩展

https://github.com/pangdahua/php7-wxwork-finance-sdk

使用方式

设置数据库

git clone [email protected]:dlsimple/WxworkMessageAudit.git

cd WxworkMessageAudit

copy .env.example .env

在.env 里面填写DB的链接信息,然后

php artisan migrate

设置企业微信

在.env下增加配置:

WXWORK_CORP_ID=

WXWORK_SECRET=

WXWORK_PRIVATE_KEY=

WXWORK_DATA_LIMIT= 每次拉去的数据条数

WXWORK_PRIVATE_KEY 指的是保存wxwork msgaudit 申请的私钥

搭建docker运行环境

cd docker

docker build -t xlogical:wxwork-message-audit .

docker-compose up -d

运行成功后,系统会自动运行 php artisan schedule:work 每小时一次

wxworkmessageaudit's People

Contributors

dlsimple avatar

Watchers

 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.