正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -62,7 +62,7 @@ class ComController extends BaseController | @@ -62,7 +62,7 @@ class ComController extends BaseController | ||
| 62 | } | 62 | } |
| 63 | $data = $encrypt->unlock_url($this->param['code'], $info['values']); | 63 | $data = $encrypt->unlock_url($this->param['code'], $info['values']); |
| 64 | $data = json_decode($data, true); | 64 | $data = json_decode($data, true); |
| 65 | - if(!isset($data['project_id']) || !isset($data['user_id'])){ | 65 | + if(!isset($data['project_id']) && !isset($data['user_id'])){ |
| 66 | $this->response('无效Code',Code::USER_ERROR); | 66 | $this->response('无效Code',Code::USER_ERROR); |
| 67 | } | 67 | } |
| 68 | $res = $logic->autologin($data); | 68 | $res = $logic->autologin($data); |
-
请 注册 或 登录 后发表评论