|
@@ -140,7 +140,7 @@ class Login extends Controller
|
|
|
$param = $_REQUEST['param'];
|
|
|
|
|
|
// 获取 handle_id
|
|
|
- if(isset($param['handle_id']) || empty($param['handle_id'])) {
|
|
|
+ if(!isset($param['handle_id']) || empty($param['handle_id'])) {
|
|
|
return json_encode(['status'=>'fail','code'=>'2001','msg'=>'系统错误 not find handle id']);
|
|
|
}
|
|
|
$handle_id = $param['handle_id'];
|
|
@@ -172,7 +172,7 @@ class Login extends Controller
|
|
|
try{
|
|
|
log::record($_REQUEST);
|
|
|
$param = $_REQUEST['param'];
|
|
|
- if(isset($param['handle_id']) || isset($param['code'])) {
|
|
|
+ if(!isset($param['handle_id']) || !isset($param['code'])) {
|
|
|
return json_encode(['status'=>'fail','code'=>'2003','msg'=>'系统错误 not find handle id or code']);
|
|
|
}
|
|
|
$handle_id = $param['handle_id'];
|