Commit c3e337b2 authored by wwccw0591's avatar wwccw0591

pc

parent 33397f9a
......@@ -65,7 +65,7 @@ class LinkMySQLModel{
public static function unsetDbConecet(){
if(!empty(self::$_instances)){
unset(self::$_instances);
self::$_instances=null;
}
}
......
......@@ -19,7 +19,7 @@ $http->on('request', function ($request, $response) {
if(isset($respData['type'])&&$respData['type']==1){
$info=$respData['content'];
$memberDao=$info['className']::getInstance(\Our\DbNameConst::masterDBConnectName);
echo json_encode($info['params']);
echo json_encode($info);
if(empty($info['params'])){
$res=call_user_func_array(array($memberDao,$info['method']));
}else{
......
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