update wx_api.php and weixin.php