|
@@ -18,16 +18,33 @@ use Illuminate\Routing\Controller;
|
|
|
class VivoVerifyController extends Controller
|
|
|
{
|
|
|
|
|
|
- public function index(Request $request)
|
|
|
+ public function zsy(){
|
|
|
+ return $this->index('zsy');
|
|
|
+ }
|
|
|
+
|
|
|
+ public function verify($package = "zsy")
|
|
|
{
|
|
|
- $string = $request->input('platform','zys');
|
|
|
- $data = $this->getData($string);
|
|
|
+ $data = $this->getData($package);
|
|
|
return view('vivoverify.index',$data);
|
|
|
}
|
|
|
|
|
|
private function getData(string $string)
|
|
|
{
|
|
|
switch ($string){
|
|
|
+ case "yueai" :
|
|
|
+ return [
|
|
|
+ 'title' => "阅爱小说",
|
|
|
+ 'desc' => "“海量小说,无需安装,随时阅读”",
|
|
|
+ 'app_name' => "阅爱小说",
|
|
|
+ 'logo' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/vivo_verify/zys/logo.png',
|
|
|
+ 'desc_img' => [
|
|
|
+ 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/vivo_verify/zys/home.jpg',
|
|
|
+ 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/vivo_verify/zys/shujia.jpg',
|
|
|
+ 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/vivo_verify/zys/wode.jpg',
|
|
|
+ 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/vivo_verify/zys/xiangqing.jpg',
|
|
|
+ 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/vivo_verify/zys/yuedu.jpg',
|
|
|
+ ]
|
|
|
+ ];
|
|
|
default:
|
|
|
return [
|
|
|
'title' => "追书云",
|