Commit 2bfa4ef7 authored by 杨培's avatar 杨培

修复 json null 传值问题

parent a92390fe
......@@ -102,7 +102,7 @@ class Server
$hasDefault = true;
}
if (isset($requestData[$k])) {
if (array_key_exists($k, $requestData)) {
$params[] = $requestData[$k];
} elseif ($hasDefault) {
$params[] = $v;
......
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