|
@@ -536,7 +536,7 @@ class WelcomeController extends BaseController
|
|
|
*/
|
|
|
private function getSiteTitle(Request $request)
|
|
|
{
|
|
|
- if ($this->distribution_channel_id == 6398) return '花溪亭苑';
|
|
|
+ /*if ($this->distribution_channel_id == 6398) return '花溪亭苑';
|
|
|
if ($this->distribution_channel_id == 5216) return '花开文阁';
|
|
|
if ($this->distribution_channel_id == 6985) return '喜阅微书店';
|
|
|
if ($this->distribution_channel_id == 6375) return '荷香淑苑';
|
|
@@ -544,7 +544,12 @@ class WelcomeController extends BaseController
|
|
|
if ($this->distribution_channel_id == 6130) return '微友书坊';
|
|
|
if ($this->distribution_channel_id == 6667) return '青青书舍';
|
|
|
if ($this->distribution_channel_id == 7264) return '悠悠书汇';
|
|
|
- if ($this->distribution_channel_id == 7070) return '小飞文苑';
|
|
|
+ if ($this->distribution_channel_id == 7070) return '小飞文苑';*/
|
|
|
+ try{
|
|
|
+ $config_title = Redis::hget('channel:setting:' . $this->distribution_channel_id,'title');
|
|
|
+ if($config_title) return $config_title;
|
|
|
+ }catch (\Exception $e){}
|
|
|
+
|
|
|
$title = "追书云";
|
|
|
$get_force_subscribe_name = false;
|
|
|
$subscribe = $request->cookie('force_subscribe_name');
|