Commit bd95d71a by 冷斌

fix bug

parent 972a87f2
...@@ -139,9 +139,7 @@ class AuthController extends HomebaseController { ...@@ -139,9 +139,7 @@ class AuthController extends HomebaseController {
$data['addtime']=time(); $data['addtime']=time();
$check = $this->auth3($data); $check = $this->auth3($data);
echo json_encode(array("ret"=>0,'data'=>$check,'msg'=>'认证失败')); if (!$check['chargeStatus'] && $check['result'] !== '01') {
exit;
if (!$check['chargeStatus']) {
echo json_encode(array("ret"=>0,'data'=>array(),'msg'=>'认证失败')); echo json_encode(array("ret"=>0,'data'=>array(),'msg'=>'认证失败'));
exit; exit;
} }
......
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