city('38.240.134.22'); print_r($record); **/ use support\Redis; $redis = Redis::connection('default'); $redis->hset('User','1',json_encode(['account' => 'admin', 'email' => 'admin@admin.com', 'passwd' => hash("sha256", 'admin123456'), 'name' => '管理员'])); print_r($redis->hgetall('User')); ?>