Commit 868140b4 by 王召彬

test

parent f47e4c8e
...@@ -50,9 +50,7 @@ class CfgCenter ...@@ -50,9 +50,7 @@ class CfgCenter
$name = array_shift($keyArr); $name = array_shift($keyArr);
$dbConn = self::dbConnect(); $dbConn = self::dbConnect();
$result = $dbConn->select("config", ['name','value'], ['name'=>$name]); $result = $dbConn->select("config", ['name','value'], ['name'=>$name]);
$dbConn->action(function($dbConn){ // $dbConn->action(function($dbConn){});
});
if(!isset($result[0]['value'])) { if(!isset($result[0]['value'])) {
return; return;
} }
......
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