|
@@ -548,8 +548,10 @@ class WelcomeController extends BaseController
|
|
['img'=>'https://cdn-novel.iycdm.com/h5/ad/pdd/2019041614.jpg','url'=>'/advertise/pdd?link=2019041614'],
|
|
['img'=>'https://cdn-novel.iycdm.com/h5/ad/pdd/2019041614.jpg','url'=>'/advertise/pdd?link=2019041614'],
|
|
['img'=>'https://cdn-novel.iycdm.com/h5/ad/pdd/2019041615.jpg','url'=>'/advertise/pdd?link=2019041615']
|
|
['img'=>'https://cdn-novel.iycdm.com/h5/ad/pdd/2019041615.jpg','url'=>'/advertise/pdd?link=2019041615']
|
|
];
|
|
];
|
|
- $key = random_int(1,17);
|
|
|
|
- return $links[$key];
|
|
|
|
|
|
+ //$key = random_int(1,17);
|
|
|
|
+ return collect($links)->random(1)->first();
|
|
|
|
+ //return $links[$key];
|
|
|
|
+
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* 获取客服图片
|
|
* 获取客服图片
|