Commit 71996dc8 authored by zw's avatar zw

bug

parent 8f4f9795
...@@ -122,6 +122,9 @@ class Basic extends Controller ...@@ -122,6 +122,9 @@ class Basic extends Controller
*/ */
public function getCity($userId) public function getCity($userId)
{ {
if(!$userId){
return;
}
try { try {
$redis_ = RedisExt::getRedis(); $redis_ = RedisExt::getRedis();
if ($redis_) { if ($redis_) {
......
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