Commit 27638358 authored by hujun's avatar hujun

2

parent 36e6c9e7
...@@ -118,6 +118,10 @@ class Basic extends Controller ...@@ -118,6 +118,10 @@ class Basic extends Controller
*/ */
public function getCity($agentId) public function getCity($agentId)
{ {
if (empty($this->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