Browse Source

demo link update

master
filesite 7 months ago
parent
commit
68316591a6
  1. 3
      lib/FSC.php
  2. 11
      themes/tajian/views/site/register.php
  3. 11
      themes/tajian/views/site/tajian.php

3
lib/FSC.php

@ -61,9 +61,6 @@ Class FSC { @@ -61,9 +61,6 @@ Class FSC {
}
}else {
@list(, $controller, $action) = $pathArr;
if (!empty($config['defaultUserId'])) {
$user_id = $config['defaultUserId'];
}
}
}else {
@list(, $controller, $action) = explode('/', $path);

11
themes/tajian/views/site/register.php

@ -35,6 +35,15 @@ @@ -35,6 +35,15 @@
</a>
</span>
</div>
<div class="mt20 vercenter"><a href="/1000/" target="_blank">点我体验,先看看收藏夹长什么样?</a></div>
<div class="mt20 vercenter">
<?php
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['config']['defaultUserId'])) {
$defaultUserId = FSC::$app['config']['defaultUserId'];
echo <<<eof
<a href="/{$defaultUserId}/" target="_blank">点我体验,先看看收藏夹长什么样?</a>
eof;
}
?>
</div>
</form>
</main>

11
themes/tajian/views/site/tajian.php

@ -35,7 +35,16 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use @@ -35,7 +35,16 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
<h3 class="h3title pl20">使用方法</h3>
<div class="pl20 lh18">
1. 点上面“创建专属收藏夹”(<a href="/1000/" target="_blank">点我体验</a>),
1. 点上面“创建专属收藏夹”
<?php
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['config']['defaultUserId'])) {
$defaultUserId = FSC::$app['config']['defaultUserId'];
echo <<<eof
<a href="/{$defaultUserId}/" target="_blank">点我体验</a>
eof;
}
?>
<br>&nbsp;&nbsp;&nbsp;&nbsp;用手机号码 + 邀请码(朋友手机号码末6位)<a href="/site/register/" class="loginbtn">注册</a>
<br class="hidden-xs">
&nbsp;&nbsp;&nbsp;&nbsp;还可以加客服微信索要注册邀请码

Loading…
Cancel
Save