Commit 230b4093 by 冷斌

踢人

parent d6571a26
......@@ -488,13 +488,13 @@ class Api_Home extends PhalApi_Api
if (!$p) {
$p = 1;
}
$key = 'getNearby_' . $lng . '_' . $lat . '_' . $p;
$info = getcaches($key);
if (!$info) {
// $key = 'getNearby_' . $lng . '_' . $lat . '_' . $p;
// $info = getcaches($key);
// if (!$info) {
$domain = new Domain_Home();
$info = $domain->getNearby($lng, $lat, $p);
setcaches($key, $info, 2);
}
// setcaches($key, $info, 2);
// }
$rs['info'] = $info;
return $rs;
}
......
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