|
|
@ -385,7 +385,7 @@ Class SiteController extends Controller { |
|
|
|
//判断是否已经登录 |
|
|
|
//判断是否已经登录 |
|
|
|
$loginedUser = Common::getUserFromSession(); |
|
|
|
$loginedUser = Common::getUserFromSession(); |
|
|
|
if (!empty($loginedUser['username'])) { |
|
|
|
if (!empty($loginedUser['username'])) { |
|
|
|
$shareUrl = "/{$loginedUser['username']}/"; |
|
|
|
$shareUrl = "/{$loginedUser['username']}/my/"; |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -404,7 +404,7 @@ Class SiteController extends Controller { |
|
|
|
//判断是否已经登录 |
|
|
|
//判断是否已经登录 |
|
|
|
$loginedUser = Common::getUserFromSession(); |
|
|
|
$loginedUser = Common::getUserFromSession(); |
|
|
|
if (!empty($loginedUser['username'])) { |
|
|
|
if (!empty($loginedUser['username'])) { |
|
|
|
$shareUrl = "/{$loginedUser['username']}/"; |
|
|
|
$shareUrl = "/{$loginedUser['username']}/my/share/"; |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|