Commit 9bc7543a by 冷斌

fix bug

parent 58162ce1
......@@ -138,12 +138,12 @@ class AuthController extends HomebaseController {
$data['status']=0;
$data['addtime']=time();
// $check = $this->auth3($data);
//
// if (!$check['chargeStatus'] || $check['data']['result'] !== '01' ) {
// echo json_encode(array("ret"=>0,'data'=>array(),'msg'=>'信息填写错误'));
// exit;
// }
$check = $this->auth3($data);
if (!$check['chargeStatus'] || $check['data']['result'] !== '01' ) {
echo json_encode(array("ret"=>0,'data'=>array(),'msg'=>'信息填写错误'));
exit;
}
$authid=M("users_auth")->where("uid='{$data['uid']}'")->getField("uid");
if($authid){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment