17

GitHub - 546669204/RebateBot: RebateBot, based on WeChat to establish robot chan...

 5 years ago
source link: https://github.com/546669204/RebateBot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

RebateBot

 

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK