Commit e8eb1168 authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz

parents 131fbc46 2d47d020
......@@ -19,8 +19,13 @@ $http->on('request', function ($request, $response) {
$info=$respData['content'];
$memberDao=$info['className']::getInstance(\Our\DbNameConst::masterDBConnectName);
echo json_encode($info['params']);
$res=call_user_func_array(array($memberDao,$info['method']),$info['params']);
$res=isset($res)?$res:true;
if(empty($info['params'])){
$res=call_user_func_array(array($memberDao,$info['method']));
}else{
$res=call_user_func_array(array($memberDao,$info['method']),$info['params']);
}
$res=(isset($res)&&!empty($res))?$res:false;
unset($memberDao);
if($res!==false){
echo 'success';
......
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