彈框 + 跳轉頁面
在頭部引用一下
use think\Request;
echo("<script>window.alert('恭喜你抽中了---'+'$specific')</script>");
$request = Request::instance();
$URL_MI = $request->domain();
$URL_MI = $URL_MI . "/index/index/index";
echo("<script>window.location= '$URL_MI'</script>");