修复了登陆时出错

登陆页面返回的json改变了
if ($result['ErrCode']!=0) return false; 改为 if ($result['base_resp']['err_msg']!='ok') return false;
preg_match("/token=(\d+)/i",$result['ErrMsg'],$matches); 改为 preg_match("/token=(\d+)/i",$result['redirect_url'],$matches);
Update Wechatext.class.php
Merge pull request #86 from ys21426/patch-1

修复了登陆时出错