Skip to content

Commit d2a4adc

Browse files
author
zng
committed
修正kv取keys时只有一个key时结果不正确
1 parent 3566fc7 commit d2a4adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Seefan/Service/Kv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function get($key, array $param = array())
1212
{
1313
$url = $this->name . '/' . $key;
1414
$resp = $this->http->request($this->base_url . $url, $param);
15-
return $this->response($resp, $param['recurse']);
15+
return $this->response($resp, empty($param['recurse'])?false:$param['recurse']);
1616
}
1717

1818
public function delete($key, array $param = array())

0 commit comments

Comments
 (0)