develop the api for koudaitong and weixin plat