The basic functions for weixin public platform