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