Commit 15bc5d97 authored by huanle's avatar huanle

0527

parent da0c9764
...@@ -50,7 +50,9 @@ class Index extends Controller ...@@ -50,7 +50,9 @@ class Index extends Controller
$User =new Dingtalk\User(); $User =new Dingtalk\User();
$userid =$User->code($code); $userid =$User->code($code);
$result= $this->create($userid); $result= $this->create($userid);
return $result;
if($userid===false){ if($userid===false){
$data['status']=-10001; $data['status']=-10001;
$data['errmsg']='登录失败'; $data['errmsg']='登录失败';
......
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