|
@@ -176,7 +176,8 @@ class WelcomeController extends BaseController
|
|
|
'outstanding_year_order'=>$outstanding_year_order,
|
|
|
'share_domain'=>env('share_domain_url'),
|
|
|
'share_switch'=>$share_switch,
|
|
|
- 'pdd_ad'=>$pdd_ad
|
|
|
+ 'pdd_ad'=>$pdd_ad,
|
|
|
+ 'special_pay_template'=>$this->isMiWan() //米玩站点特殊充值页面
|
|
|
]);
|
|
|
if ($this->uid == env('SPECIAL_USER_LOG', 2)) {
|
|
|
myLog('special')->info('welcome --------------------------');
|
|
@@ -531,6 +532,14 @@ class WelcomeController extends BaseController
|
|
|
$result = json_decode($result,1);
|
|
|
return array_keys($result);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ private function isMiWan(){
|
|
|
+ $miwan_channel_ids = redisEnv('MIWAN_CHANNEL_ID');
|
|
|
+ if(!$miwan_channel_ids) return false;
|
|
|
+ return in_array($this->distribution_channel_id,explode(',',$miwan_channel_ids));
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 获取客服图片
|
|
|
*/
|