Commit f0262c7e authored by chenchuanwen's avatar chenchuanwen

bridgeedit

parent d8e83442
...@@ -23,8 +23,8 @@ if(!empty($request->get)){ ...@@ -23,8 +23,8 @@ if(!empty($request->get)){
echo ' ... After Swoole Shutdown ! ... ' . PHP_EOL . PHP_EOL; echo ' ... After Swoole Shutdown ! ... ' . PHP_EOL . PHP_EOL;
} }
} }else{
if(!empty($request->post)){ if(!empty($request->post)){
try{ try{
$respData=$request->post; $respData=$request->post;
// echo json_encode($respData); // echo json_encode($respData);
...@@ -55,6 +55,8 @@ if(!empty($request->post)){ ...@@ -55,6 +55,8 @@ if(!empty($request->post)){
throw new Exception($ex->getMessage(),$ex->getCode()); throw new Exception($ex->getMessage(),$ex->getCode());
$response->end(json_encode(array('status'=>0,'message'=>'执行失败'))); $response->end(json_encode(array('status'=>0,'message'=>'执行失败')));
} }
}else{ }else{
$response->end(json_encode(array('status'=>0,'message'=>'执行失败'))); $response->end(json_encode(array('status'=>0,'message'=>'执行失败')));
}
} }
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