Commit ef16c4df authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent efb192ac
...@@ -17,14 +17,15 @@ if(!empty($request->post)){ ...@@ -17,14 +17,15 @@ if(!empty($request->post)){
unset($memberDao); unset($memberDao);
\Mysql\LinkMySQLModel::unsetDbConecet(); \Mysql\LinkMySQLModel::unsetDbConecet();
if($res!==false){ if($res!==false){
echo 'success'; echo 'success'.PHP_EOL;
$response->end(json_encode(array('status'=>1,'message'=>'执行成功','data'=>$res))); $response->end(json_encode(array('status'=>1,'message'=>'执行成功','data'=>$res)));
echo 23423423;
}else{ }else{
echo 'fail1'; echo 'fail1'.PHP_EOL;
$response->end(json_encode(array('status'=>0,'message'=>'执行失败'))); $response->end(json_encode(array('status'=>0,'message'=>'执行失败')));
} }
}else{ }else{
echo 'fail2'; echo 'fail2'.PHP_EOL;
$response->end(json_encode(array('status'=>0,'message'=>'执行失败'))); $response->end(json_encode(array('status'=>0,'message'=>'执行失败')));
} }
}catch(Exception $ex){ }catch(Exception $ex){
......
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