Commit 58162ce1 by 冷斌

fix bug

parent bdc14446
...@@ -138,12 +138,12 @@ class AuthController extends HomebaseController { ...@@ -138,12 +138,12 @@ class AuthController extends HomebaseController {
$data['status']=0; $data['status']=0;
$data['addtime']=time(); $data['addtime']=time();
$check = $this->auth3($data); // $check = $this->auth3($data);
//
if (!$check['chargeStatus'] || $check['data']['result'] !== '01' ) { // if (!$check['chargeStatus'] || $check['data']['result'] !== '01' ) {
echo json_encode(array("ret"=>0,'data'=>array(),'msg'=>'信息填写错误')); // echo json_encode(array("ret"=>0,'data'=>array(),'msg'=>'信息填写错误'));
exit; // exit;
} // }
$authid=M("users_auth")->where("uid='{$data['uid']}'")->getField("uid"); $authid=M("users_auth")->where("uid='{$data['uid']}'")->getField("uid");
if($authid){ 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