a program for catch message from weixin