Commit 903c10c8 authored by chenchuanwen's avatar chenchuanwen

bridgeedit

parent 96ccd2c6
......@@ -20,8 +20,7 @@
// echo ' ... After Swoole Shutdown ! ... ' . PHP_EOL . PHP_EOL;
// }
//}
if(!empty($request->post)){
try{
try{
$respData=$request->post;
// echo json_encode($respData);
if(isset($respData['type'])&&$respData['type']==1){
......@@ -47,10 +46,7 @@ if(!empty($request->post)){
echo 'fail2';
$response->end(json_encode(array('status'=>0,'message'=>'执行失败')));
}
}catch(Exception $ex){
}catch(Exception $ex){
throw new Exception($ex->getMessage(),$ex->getCode());
$response->end(json_encode(array('status'=>0,'message'=>'执行失败')));
}
}else{
$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