Skip to content

基于友盟的消息推送服务,支持微信发群和发圈能力,以及发单效果统计

Notifications You must be signed in to change notification settings

MopLand/Messager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messager

Develop

npm install --global nodemon
nodemon app.js

Test

node app.js -debug 1
set DEBUG=* & node app.js

Install

npm install --global pm2

Run

pm2 start app.js -n Messager --watch

pm2 start moment.json

pm2 start groups.json

Command

Moment

# KEEP
保持发圈原始格式

# SKIP
忽略这条发圈(不发送)

Deploy

pm2 start run/autologin.json
pm2 start run/heartbeat.json
pm2 start run/forward_new.json
pm2 start run/moment_mtl.json
pm2 start run/moment_send.json
pm2 start run/socket_send.json
pm2 start run/groups_send.json
pm2 start run/messager.json

Example

cd /disk/www/Messager/
git pull

pm2 delete Messager
pm2 start run/messager.json

pm2 delete MM_AutoLogin
pm2 start run/autologin.json

pm2 delete MM_Groups_Send
pm2 start run/groups_send.json

pm2 delete MM_Heartbeat
pm2 start run/heartbeat.json

pm2 delete MM_Moment_Send
pm2 start run/moment_send.json

pm2 delete MM_Socket_Send
pm2 start run/socket_send.json

pm2 delete MM_Forward_New
pm2 start run/forward_new.json

pm2 save

Logs

tail -f /disk/www/Messager/logs/wx_groups_out.log

tail -f /disk/www/Messager/logs/wx_moment_out.log

Filter

# 转链失败
"package":"example","body"

# 发圈成功
"package":"example","post_id"

# 发圈异常
"package":"example","expection"

# 发圈出错
"package":"example","failed"

# 评论成功
"package":"example","product"

# 评论跳出
"package":"example","break"

# 评论失败
"package":"example","comment"

About

基于友盟的消息推送服务,支持微信发群和发圈能力,以及发单效果统计

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published