Commit f47e4c8e by 王召彬

test

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