refactor weixin code
refactor weixin code