546669204/RebateBot: RebateBot, based on WeChat to establish robot channels and users to quickly generate rebate links through chat
2018-08-15 13:57:31 Author: github.com(查看原文) 阅读量:195 收藏

project description

Keywords: rebate WeChat Alimama robot cross platform

RebateBot, based on WeChat to establish robot channels and users to quickly generate rebate links through chat


You only need the minimal computer performance and an idle WeChat can to turn on a 24-hour unmanned shift RebateBot Shopping only needs to send a link to the robot, and the robot can immediately give you a discount price and link.


Function realization

WeChat robot

This module can see the latest code WeChatBot

  • message callback
  • auto reply message
  • Add friend callback
  • Default to add new friends
  • Auto Reply (text, emoticon)

Alimama

  • link identify
  • word command identify
  • Convert links to discount links
  • automatically assigns different pids
  • Scan QRcode login
  • Order scheduled download
  • automatically calculate the rebate point

Message Processing

  • Sign in
  • Help
  • Automatic Binding Order
  • Manually bind the order
  • withdrawal
  • Receiving reminder
  • Payment reminder

Run

Development and build

Environmental requirements

  • golang
  • mysql

Pull code

Git clone https://github.com/546669204/RebateBot.git
Cd RebateBot

Installation dependencies

Go get
Cd msgprocess
Go get
Cd ../alimama
Go get
Cd ../

Configuring mysql

Cd msgprocess
Vim database.json

{
    "database": "webot", //database name
    "host": "127.0.0.1:3306", //Database Host
    "user": "root", //database username
    "password": "" / / database password
}

Commissioning

Go run master.go

Update log

CHANGELOG


文章来源: https://github.com/546669204/RebateBot
如有侵权请联系:admin#unsafe.sh