Commit 80da399a by 王召彬

返回非json的值

parent 5d513dc3
...@@ -54,7 +54,7 @@ class CfgCenter ...@@ -54,7 +54,7 @@ class CfgCenter
} }
$valObj = json_decode($result[0]['value']); $valObj = json_decode($result[0]['value']);
if(!is_object($valObj)) { if(!is_object($valObj)) {
return; return [$name, $valObj];
} }
$keys = ''; $keys = '';
foreach($keyArr as $key) { foreach($keyArr as $key) {
......
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