|
@@ -1053,7 +1053,7 @@ class ChapterController extends BaseController
|
|
|
if ($this->is_had_subscribe && in_array($this->distribution_channel_id, [2, 14, 211,4025,4147,691,123]) && $this->user) {//,4147,691,123,4025
|
|
|
$this->chapter->is_show_share_button = 1;
|
|
|
}
|
|
|
- if($this->distribution_channel_id == 6985 && $this->domain == 'leyuee'){
|
|
|
+ /*if($this->distribution_channel_id == 6985 && $this->domain == 'leyuee'){
|
|
|
$appid = 'wx126331d1732978b0';
|
|
|
$appSecret = '76231c41c24d4363243866f5f9dee55f';
|
|
|
$config = new ChapterShareWechatConfigService($appid,$appSecret);
|
|
@@ -1066,10 +1066,10 @@ class ChapterController extends BaseController
|
|
|
$this->en_bid,
|
|
|
$this->cid
|
|
|
);
|
|
|
- $url = url()->full();
|
|
|
- $url = str_replace('http://','https://',$url);
|
|
|
+ //$url = url()->full();
|
|
|
+ //$url = str_replace('http://','https://',$url);
|
|
|
$this->chapter->share_config = $config->getJssdkConfig($url);
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
|
|
|
/**
|