add wechat connect function.