windows7 使用wamp搭建的环境
$key = $this->resetkey($key);
$this->redis->hSet('g', 'd', 't');
print_r($this->redis->hGetAll('g'));exit;
if($field=='*' || $field==''){
return $this->redis->hgetall($key);
}else{
$field_arr = explode(',', $field);
return $this->redis->hmget($key,$field_arr);
}
我使用hSet 是正常的
当我使用hGetAll的时候浏览器报Provisional headers are shown
看下是不是跨域了