- 一个好用的视频收藏夹 - - 帮你整理不同App/网站的好视频,还能分享给朋友 + 你的聚宝盆 + - 帮你收纳不同App/网站有价值的视频
- 创建专属收藏夹 + 创建聚宝盆
diff --git a/themes/tajian/controller/MyController.php b/themes/tajian/controller/MyController.php index b0cb12a..57826be 100644 --- a/themes/tajian/controller/MyController.php +++ b/themes/tajian/controller/MyController.php @@ -14,7 +14,7 @@ Class MyController extends SiteController { if (empty($loginedUser['username'])) { return $this->redirect('/site/login/'); }else if (!empty(FSC::$app['config']['multipleUserUriParse']) && FSC::$app['user_id'] != $loginedUser['username']) { - $shareUrl = "/{$loginedUser['username']}/my/"; + $shareUrl = "/{$loginedUser['username']}/my/" . FSC::$app['action']; return $this->redirect($shareUrl); } diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index fbb6973..c926365 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -93,14 +93,16 @@ Class SiteController extends Controller { //显示TA荐首页 protected function renderTajianIndex() { - $pageTitle = "Ta荐:好用的视频收藏夹,帮你整理不同平台的好视频,轻松分享给朋友!"; + $loginedUser = Common::getUserFromSession(); + + $pageTitle = "Ta荐:你的聚宝盆,帮你收纳不同平台的有价值视频,轻松分享!"; $stats = TajianStats::init(); $this->layout = 'index'; $viewName = 'tajian'; $params = compact( - 'pageTitle', 'stats' + 'pageTitle', 'stats', 'loginedUser' ); return $this->render($viewName, $params, $pageTitle); } @@ -404,7 +406,13 @@ Class SiteController extends Controller { //判断是否已经登录 $loginedUser = Common::getUserFromSession(); if (!empty($loginedUser['username'])) { - $shareUrl = "/{$loginedUser['username']}/my/share/"; + $shareUrl = "/{$loginedUser['username']}/my/"; + + $goUrl = $this->get('go', ''); + if (!empty($goUrl) && preg_match("/^\/.+$/", urldecode($goUrl))) { + $shareUrl = urldecode($goUrl); + } + return $this->redirect($shareUrl); } diff --git a/themes/tajian/views/layout/index.php b/themes/tajian/views/layout/index.php index 32f6d51..12e87fd 100644 --- a/themes/tajian/views/layout/index.php +++ b/themes/tajian/views/layout/index.php @@ -24,7 +24,7 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use - TaJian.tv
@@ -37,11 +37,11 @@ if (!empty($viewFile) && file_exists($viewFile)) {
- 1. 从各大视频App、网站复制视频的分享链接
+ 1. 从各视频App、网站复制视频的分享链接
- 2. 在“添加”里粘贴后保存
+ 2. 登录后在“添加收藏”里粘贴保存
3. 分享你的专属链接给朋友
没注册?
- 点上面“创建专属收藏夹”,
-
用手机号码 + 邀请码(朋友手机号码末6位)去注册
+ 用手机号码 + 邀请码(邀请者手机号末 6 位)
+ 去注册
- 还可以加客服微信索要注册邀请码
+ 还可以加客服微信获取注册邀请码
其它App和网站将陆续增加。。。
+更多App和网站将陆续增加。。。