Check server response of

Server response
NS records
Whois domain
Response headers
Request headers
Raw HTML code
301 Moved Permanently - yscq2.com
HTTP Status: 301
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Server: nginx
Date: Sat, 17 May 2025 21:10:51 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://yscq2.com/
Strict-Transport-Security: max-age=31536000

HTTP Code 301 Moved Permanently

301 status code means that the requested resource has been permanently moved to a new URL. All future requests should use the new address.

When is Code 301 used?

  • When changing a website domain
  • When modifying URL structures
  • When setting up redirects for SEO

What does Code 301 mean for the user?

The browser will automatically redirect the user to the new address, and search engines will update their indexes.

200 OK - https://yscq2.com/
HTTP Status: 200
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Server: nginx
Date: Sat, 17 May 2025 21:10:52 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: ACG-SHOP=km2l2lhobpivb4dcut838m8of7; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Strict-Transport-Security: max-age=31536000

HTTP Code 200 OK

200 status code is a standard successful HTTP server response. It means that the client’s request (e.g., from a browser) was successfully processed, and the server is delivering the requested data.

When is Code 200 used?

  • When loading a web page
  • When successfully receiving an API response
  • When processing a form or another HTTP request

What does Code 200 mean for the user?

The user receives content without errors, and the page or application functions properly. If Code 200 is accompanied by data, the browser or program processes and displays it to the user.

GET / HTTP/1.1
Host: yscq2.com
Accept: */*
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="keywords" content="传奇  单职业  杀神恶魔  176  复古  热血传奇  传奇私服   "/>
    <meta name="description" content="新开正版授权传奇游戏,为喜爱传奇端游的玩家提供1.80传奇、1.76传奇、1.85传奇、1.95传奇、微变、中变、轻变、超变单职业传奇,元宝送送送,无需下载立即玩"/>
    <link href="/favicon.ico?v=1.4.3" rel="icon">
    <link rel="stylesheet" href="/assets/static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/assets/static/font/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="/assets/static/css/i.css?v=1.4.3">

    <script src="/assets/static/jquery.min.js"></script>
    <script src="/assets/static/jquery.sliderBar.js"></script>
    <script src="/assets/static/layer/layer.js"></script>
    <script src="/assets/static/pay.js?v=1.4.3"></script>
    <script src="/assets/static/clipboard.js"></script>
    <title>原始网络 - 最适合散人的公益传奇!</title>
    <!--start::HOOK-->
    
    
    <!--end::HOOK-->
</head>
<body style="background: url('/assets/cache/images/202412151557179030100.jpg') fixed no-repeat;background-size: cover;">
<div id="app">
    <nav class="navbar navbar-expand-lg navbar-light bg-light"
         style="background-color: rgba(255,255,255,0.85) !important;">
        <div class="container">
           <div class="navbar-brand">
               <a href="/">
                   <img src="/favicon.ico" height="30px" style="border-radius: 50%;box-shadow: #f0d1d4 1px 1px 1px;">
                    <span style="position: relative;top: 4px;left: 3px;font-weight: bold;color: #1396558a;">  原始网络                 </span></a>
                  <a href="/user/authentication/login?goto=/"><span style="position: relative;top: 4px;left: 10px;font-size: 18px;color:#00CCFF;font-weight: bold;"><i class="fa fa-sign-in"></i> 会员登录</span></a>            </div>
            <div class="row">
                <a class="nav-link" href="/" style="font-weight: bolder;"><i class="fa fa-shopping-cart" aria-hidden="true"></i>  主页</a>
                <a class="nav-link" href="/user/index/query"  style="font-weight: bolder;"><i class="fa fa-search-plus" aria-hidden="true"></i> 购买记录</a>
            <a class="nav-link" href="https://qm.qq.com/cgi-bin/qm/qr?k=r8RhnsPnnIOk2YODhtBIhVLs4oN3Mr9T&jump_from=webapi&authKey=PZ76xn2YKzb0hTCw1FwjnJlBEvUbPLrhDXG04v8glQH06MRU4dasZ4HMKwTBH39S" target="_blank"  style="font-weight: bolder;"><i class="fa fa-twitch" aria-hidden="true"></i> 在线客服</a>                            </div>
            <!--<div class="navbar-collapse">
                <ul class="navbar-nav mr-auto"></ul>
            </div>-->
        </div>
    </nav>
<style type="text/css">
    /* 商品项样式 */
    .product-item {
        width: 260px;
        height: 370px;
        margin-bottom: 20px;
        border: 1px solid #dedddb;
        padding: 2px;
        text-align: center;
    }

    /* 图片样式 */
    .product-item img {
        width: 255px;
        height: 255px;
        display: block;
        margin: 0 auto;
    }

    /* 标题样式 */
    .product-name {
        font-size: 16px;
        font-weight: normal;
        margin: 10px 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        border-bottom: 1px dashed #d9d5d6; 
       
    }

    /* 说明样式 */
    .product-description {
        font-weight: normal;
        border-bottom: 1px dashed #dedddb;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    /* 按钮样式 */
    .product-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .product-buttons .button-click {
        padding: 5px 10px;
        border: 1px solid #dedddb;
        background-color: #fff;
        cursor: pointer;
        font-size: 14px;
    }
</style>

<div class="content-wrapper">
    <div class="container">

        <!-- 公告部分 -->
        <div class="card">
            <div class="card-header">
                <p class="card-title"><i class="fa fa-bullhorn" aria-hidden="true"></i> 游戏公告</p>
            </div>
            <div class="card-block">
                <p style="text-align:center;"><b style=""><font size="4" style="background-color: rgb(255, 255, 255);" face="Times New Roman" color="#f9963b"><span style="text-align: start;">😃</span>1元等于100真实平台充值,不以盈利为目的,只为情怀,<span style="text-align: var(--bs-body-text-align);">募捐款项仅用于服务器、带宽费和封挂</span>。点击礼包兑换查看详情<span style="text-align: start;">😃</span></font></b></p>
            </div>
        </div>

        <!-- 选择商品部分 -->
        <div class="card">
            <div class="card-header">
                <p class="card-title"><i class="fa fa-gratipay" aria-hidden="true"></i>长期玩家,加入会员,尊享千倍充值回馈</p>
            </div>
            <div class="card-block">
                <fieldset class="form-group">
                    <label for="type" style="font-size: 16px;"><i aria-hidden="true" class="fa fa-book"></i> 版本类型</label>
                    <div id="type" class="category">
                    </div>
                </fieldset>

                <fieldset class="form-group product" style="display: none;">
                    <label for="product" style="font-size: 16px;"><i aria-hidden="true" class="fa fa-book"></i> 游戏列表</label>
                    <div id="product" class="row">
                    </div>
                </fieldset>
            </div>
        </div>

        <!-- 商品简介部分 -->
        <div class="card animated shopInfoHtml" style="display: none;">
            <div class="card-header">
                <p class="card-title"><i aria-hidden="true" class="fa fa-book"></i> 激活码说明</p>
            </div>
            <form class="commodity"></form>

            <div class="sliderbar-container">
                <div class="title"><i></i> 联系客服</div>
                <div class="body">
                    <div style="margin-bottom: 10px;"><img src="/favicon.ico" alt=""
                                                           style="border-radius: 100%;height: 28px;"
                                                           class="service-avatar"> <span
                                style="color: #e093ff;position: relative;top: 1px;" class="service-nickname">自营商品</span>
                    </div>
                    <a class="button-click service-url" style="line-height: 22px;margin-right: 0;color: #ff8888;"
                       href="javascript:;"><i
                                class="fa fa-user-plus"></i> 交流群</a>
                    <a class="button-click service-qq" style="line-height: 22px;margin-right: 0;color: #7599b1;"
                       target="_blank"><i
                                class="fa fa-qq"></i> QQ客服</a>
                </div>
            </div>
        </div>

        <!-- 指定购买部分 -->
        <div class="card animated specified" style="display: none;">
            <div class="card-header">
                <p class="card-title"></p>
            </div>
            <div class="card-block anticipation">
            </div>
        </div>

        <!-- 付款部分 -->
        <div class="card animated fadeInLeft" style="display: none;">
            <div class="card-header">
                <p class="card-title">付款方式</p>
            </div>
            <div class="card-block">
                <div class="login-display"
                     style="text-align: center;font-weight: bold;margin: 10px 0 20px 0;font-size: 18px;color: #00A3FF;display: none;">
                    该商品需要登录才能购买,<a class="login-url" href="/user/authentication/login?goto=/">现在登录</a></div>
                <div class="row pay_type" style="margin-left: 0px;"></div>
            </div>
        </div>

    </div>
</div>
</div>

<script>
    const setting_cache = 1;
    const setting_cache_expire = 60;

    let commodityHtml = '<div class="card-block">\n' +
        '                    <div class="row">\n' +
        '                        <div class="col-md-5 description"></div>\n' +
        '                        <div class="col-md-7">\n' +
        '                            <h4 class="productName" style="margin-bottom: 10px;"></h4>\n' +
        '                            <p><span style="color: #0C84D1;font-size: 14px;cursor: pointer;" class="clipboard" data-clipboard-text=""><i class="fa fa-share"></i> 将宝贝分享给好友</span></p>\n' +
        '                            <p style="display: none;" class="seckill_status">限时秒杀: <span class="text-danger seckill"></span></p>\n' +
        '                            <p>商品单价: <span class="text-success price"></span></p>\n' +
        '                            <p>发货方式: <span class="badge badge-pill text-white cardType"></span></p>\n' +
        '                            <fieldset class="form-group">\n' +
        '                                <label style="display: inline-block;">联系方式:</label>\n' +
        '                                <input class="form-control round contact" name="contact" placeholder="">\n' +
        '                            </fieldset>\n' +
        '                            <fieldset class="form-group fieldset-password" style="display: none;">\n' +
        '                                <label style="display: inline-block;">查询密码:</label>\n' +
        '                                <input class="form-control round password" name="password" type="password"\n' +
        '                                       placeholder="请设置您的订单查询密码(6位以上)">\n' +
        '                            </fieldset>\n' +
        '                            <fieldset class="form-group voucher-view" style="display: none;">\n' +
        '                                <label style="display: inline-block;">优惠代卷:</label>\n' +
        '                                <input class="form-control round voucher" onchange="getTradeAmount()" name="coupon"\n' +
        '                                       placeholder="如果您有优惠卷可以填写优惠卷,没有可不填写">\n' +
        '                            </fieldset>\n' +
        '                            <fieldset class="form-group race-view" style="display: none;">\n' +
        '                                <label style="display: inline-block;">选择种类:</label>\n' +
        '                                 <span class="race-list"></span>\n' +
        '                            </fieldset>\n' +
        '                            <fieldset class="form-group">\n' +
        '                                <label>购买数量:</label>\n' +
        '                                <input class="form-control round buyNum" onchange="getTradeAmount()" name="num"\n' +
        '                                       type="number" style="width: 10%;" value="1">\n' +
        '                                <span style="margin-left: 10px;display: none;" class="kucunView"> 剩余库存: <span\n' +
        '                                        class="badge badge-pill badge-success text-white card_count">0</span></span>\n' +
        '                            </fieldset><p class="widget"></p>\n' +
        '                            <p><span class="purchase_count" style="font-size: 14px;font-weight: bold;color: #c59de9;display: none;"></span></p>\n' +
        '                            \n' +
        '                            <fieldset class="form-group">\n' +
        '                                <label>人机验证:</label>\n' +
        '                                <input class="form-control round captcha" name="captcha" type="text" style="width: 15%;"\n' +
        '                                       value="">\n' +
        '                                <span style="margin-left: 10px;"><img\n' +
        '                                    class="captchaImage"\n' +
        '                                        style="margin-top: -3px;cursor: pointer;" src="/user/captcha/image?action=trade"\n' +
        '                                        alt="验证码"></span>\n' +
        '                            </fieldset>\n' +
        '                            \n' +
        '                            <p style="" class="payAmountView">订单金额: <span><b style="font-size:16px;color: #f757b7;font-weight: bold;" class="payAmount"></b></span></p>\n' +
        '                            <fieldset class="form-group wholesale" style="display: none;">\n' +
        '                                <div style="font-size: 12px;color: #ff5aa6;font-weight: bold;"\n' +
        '                                     class="wholesaleHtml"></div>\n' +
        '                            </fieldset>\n' +
        '                        </div>\n' +
        '                    </div>\n' +
        '                </div>';
    let switchElement = function (obj) {
        $('.checked').removeClass('checked');
        $(obj).addClass('checked');
    };

    let productInstance = $('#product');
    let globalCommodityId = 0;
    let globalRaceId = "";
    let seckillPid = 0;
    let defaultCategory = "-10";
    let defaultCommodity = "";
    let draftStatus = 0;
    let inventoryHidden = 0;

    //-----------------------------------获取分类------------------------------------------
    Pay.getCategory(list => {
        list.forEach(category => {
            $(".category").append('<span class="category-' + category.id + ' button-click category-button ' + (category.commodity_count == 0 ? 'empty-commodity' : '') + '" ' + (category.commodity_count == 0 ? '' : 'onclick="getCommodity(this,' + category.id + ')"') + '>' + (category.icon ? '<img class="commodity-icon" src="' + category.icon + '">' : '') + ' ' + category.name + '</span>');
        });
        if (defaultCategory) {
            $('.category-' + defaultCategory).click(); //自动点击分类
            defaultCategory = null;
        }
    });

    //-----------------------------------获取商品------------------------------------------
   function getCommodity(obj, categoryId) {

    switchElement(obj);
    $('.shopInfoHtml').hide(150);
    $('.fadeInLeft').hide(150);
    $('.specified').hide(150);

    Pay.getCommodityAll(categoryId, list => {
        $('.product').hide(150);
        productInstance.html("");
        if (list.length === 0) {
            layer.msg("该分类下没有商品");
            return;
        }
        $('.product').show(150);
        list.forEach(item => {
            productInstance.append('<div class="col-md-3"><div class="product-item" style="width: 260px; height: 390px; margin-bottom: 20px;border-radius: 10px;">' +
                '<img src="' + (item.cover ? item.cover : '/favicon.ico') + '" alt="' + item.name + '" style="width: 255px; height: 255px;border-radius: 10px 10px 0 0;">' +
                '<h4 class="product-name" style="margin: 10px 0  ; ">' + item.name + '</h4>' +
                '<p class="product-description">' + item.miaoshu + '</p>' +
                '<div class="product-buttons">' +

                '<button class="button-click" onclick="window.open(\'' + item.name2 + '\', \'_blank\')">攻略</button>' +
                '<button class="button-click" onclick="getCommodityInfo(this,' + item.id + ')">礼包兑换</button>' +
                
                '<button class="button-click" onclick="window.open(\'' + item.name3 + '\', \'_blank\')">官网</button>' +
                '</div></div></div>');
        });

        if (defaultCommodity) {
            $('.commodity-' + defaultCommodity).click(); //自动点击商品
            defaultCommodity = null;
        }
    })
}
    //-----------------------------------获取预选卡密--------------------------------------
    function checkbox(obj) {
        let state = $(obj).prop("checked");
        $('input[name=card_id]:checked').prop("checked", false);
        if (state === true) {
            $(obj).prop("checked", true);
        } else {
            $(obj).prop("checked", false);
        }
    }

    function getDraftCard(commodityId, page) {
        Pay.getDraftCard(commodityId, page, globalRaceId, res => {
            let next = res.current_page + 1;
            let prev = res.current_page - 1;
            if (next >= res.last_page) {
                next = res.last_page;
            }
            if (prev <= 1) {
                prev = 1;
            }
            $('.anticipation').show(150);
            $('.anticipation').html('<table><thead><tr><th><button ' + (res.current_page <= 1 ? 'disabled' : '') + ' type="button" onclick="getDraftCard(' + commodityId + ',' + prev + ')">上一页</button> <button ' + (res.current_page >= res.last_page ? 'disabled' : '') + ' type="button" onclick="getDraftCard(' + commodityId + ',' + next + ')">下一页</button></th></tr></thead><tbody class="draftCard"></tbody></table>');

            if (res.data.length == 0) {
                $('.draftCard').append('<tr><td style="text-align: center;">暂无数据</td></tr>');
                return;
            }

            res.data.forEach(item => {
                $('.draftCard').append('<tr><td><label><input type="checkbox" onclick="getTradeAmount()" onchange="checkbox(this)" name="card_id" value="' + item.id + '"> ' + item.draft + '</label></td></tr>');
            });
        });
    }

    //-----------------------------------获取商品详情--------------------------------------

    function getCommodityInfo(obj, commodityId) {

        $('.shopInfoHtml').hide(150);
        $('.fadeInLeft').hide(150);
        $('.specified').hide(150);
        $('.commodity').html("");
        $('.login-display').hide();
        $('.pay_type').show();

        globalRaceId = "";
        globalCommodityId = commodityId;
        switchElement(obj);
        Pay.getCommodityDetail(commodityId, commodity => {
            // 修改QQ客服点击事件
            $('.service-qq').attr("href", "javascript:;").on('click', function(e) {
                e.preventDefault();
                layer.open({
                    type: 1,
                    closeBtn: 1,
                    title: false,
                    shadeClose: true,
                    shade: 0.8,
                    area: ['300px', '100px'],
                    content: '<div style="padding: 0 20px; height: 100px; display: flex; align-items: center; justify-content: center;">' +
                            '<div style="color: #FF5722; font-size: 16px;">客服QQ:767047500</div>' +
                            '</div>'
                });
            });

            // 修改QQ交流群点击事件
            $('.service-url').attr("href", "javascript:;").on('click', function(e) {
                e.preventDefault();
                layer.open({
                    type: 1,
                    closeBtn: 1,
                    title: false,
                    shadeClose: true,
                    shade: 0.8,
                    area: ['300px', '100px'],
                    content: '<div style="padding: 0 20px; height: 100px; display: flex; align-items: center; justify-content: center;">' +
                            '<div style="color: #1E9FFF; font-size: 16px;">玩家QQ交流群:952192635</div>' +
                            '</div>'
                });
            });

            if (commodity.owner) {
                $('.service-avatar').attr("src", commodity.owner.avatar);
                $('.service-nickname').css({"color": "#ff00e0a1"}).html(commodity.owner.username);
            } else {
                $('.service-avatar').attr("src", "/favicon.ico");
                $('.service-nickname').css({"color": "#e093ff"}).html("自营商品");
            }

            $('.commodity').html(commodityHtml);
            $('.shopInfoHtml').show(150);
            $('.fadeInLeft').show(150);

            $('.productName').html(commodity.name);
            $('.description').html(commodity.description);

            if (commodity.minimum > 0) {
                $('.buyNum').val(commodity.minimum).change();
            }

            $('.description').find("img").click(function () {
                let imageUrl = $(this).attr("src");

                let img = new Image()
                img.src = imageUrl;
                img.onload = function () {
                    if (img.width >= window.innerWidth) {
                        img.width = window.innerWidth * 0.9;
                    }

                    if (img.height >= window.innerHeight) {
                        img.height = window.innerHeight * 0.9;
                    }

                    // 打印
                    layer.open({
                        type: 1,
                        title: false,
                        closeBtn: 0, //不显示关闭按钮
                        anim: 5,
                        area: [img.width + "px", img.height + "px"],
                        shadeClose: true, //开启遮罩关闭
                        content: '<img  src="' + imageUrl + '" style="width:' + img.width + 'px;height:' + img.height + 'px">'
                    });
                }
            });

            //限时秒杀
            clearInterval(seckillPid);
            if (commodity.seckill_status == 1) {
                $('.seckill_status').show();
                let seckillStartTime = new Date(commodity.seckill_start_time).getTime();
                let seckillEndTime = new Date(commodity.seckill_end_time).getTime();
                var nowTime = new Date().getTime();

                let fnEnd = () => {
                    let langTime = Pay.getLangTime(new Date().getTime(), seckillEndTime);
                    $('.seckill').html("<b style='color: #0fb183;'>还剩" + langTime.days + "天" + langTime.hours + "时" + langTime.minutes + "分" + langTime.seconds + "秒结束</b>");
                    if (langTime.days <= 0 && langTime.hours <= 0 && langTime.minutes <= 0 && langTime.seconds <= 0) {
                        $('.seckill').html("<b style='color: #9d9d9d;'>已结束</b>");
                        $('.fadeInLeft').hide();
                        clearInterval(seckillPid);
                    }
                };
                let fnStart = () => {
                    let langTime = Pay.getLangTime(new Date().getTime(), seckillStartTime);
                    $('.seckill').html("<b style='color: #e22727;'>" + langTime.days + "天" + langTime.hours + "时" + langTime.minutes + "分" + langTime.seconds + "秒后开始抢购</b>");
                    if (langTime.days <= 0 && langTime.hours <= 0 && langTime.minutes <= 0 && langTime.seconds <= 0) {
                        clearInterval(seckillPid);
                        $('.fadeInLeft').show();
                        fnEnd();
                        seckillPid = setInterval(fnEnd, 1000);
                    }
                };

                if (nowTime >= seckillStartTime && nowTime <= seckillEndTime) {
                    $('.fadeInLeft').show();
                    fnEnd();
                    //秒杀正在进行当中
                    seckillPid = setInterval(fnEnd, 1000);
                } else if (nowTime < seckillStartTime) {
                    $('.fadeInLeft').hide();
                    fnStart();
                    seckillPid = setInterval(fnStart, 1000);
                } else if (nowTime > seckillEndTime) {
                    $('.fadeInLeft').hide();
                    $('.seckill').html("<b style='color: #9d9d9d;'>已结束</b>");
                }

            }

                        let user = "";
            if (commodity.user_price < commodity.price) {
                user = '<span class="price_tips">(会员价:¥' + commodity.user_price + ') <a style="color: #6d97d5;" href="/user/authentication/login" target="_blank">现在就去登录!</a></span>';
            }
            $('.price').html('¥' + commodity.price + ' ' + user);
            $('.payAmount').html("¥" + commodity.price);

            //未登录
            //判断是否需要登录才能购买商品
            if (commodity.only_user == 1 || commodity.purchase_count > 0) {
                $('.login-url').attr("href", "/user/authentication/login?goto=" + encodeURIComponent(commodity.share_url));
                $('.login-display').show();
                $('.pay_type').hide();
            }
                        inventoryHidden = commodity.inventory_hidden;
            if (commodity.delivery_way === 0) {
                $('.cardType').html("自动发货").addClass("badge-success");
                $('.kucunView').show();
                if (commodity.inventory_hidden == 1) {
                    if (commodity.card <= 0) {
                        $('.card_count').removeClass("badge-success").addClass("badge-dark").html("已售罄");
                    } else if (commodity.card <= 5) {
                        $('.card_count').removeClass("badge-success").addClass("badge-danger").html("即将售罄");
                    } else if (commodity.card <= 20) {
                        $('.card_count').removeClass("badge-success").addClass("badge-warning").html("一般");
                    } else if (commodity.card > 20) {
                        $('.card_count').html("充足");
                    }
                } else {
                    $('.card_count').html(commodity.card);
                }

            } else {
                $('.cardType').html("在线发货").addClass("badge-danger");
            }

            let contactType = ["任意联系方式", "手机号", "邮箱", "QQ号"];

            $('.contact').attr("placeholder", "请输入您的" + contactType[commodity.contact_type] + ",方便订单查询");

            if (commodity.login) {
                $('.contact').parent().hide();
            }

            //
            if (commodity.password_status === 1 && !commodity.login) {
                $('.fieldset-password').show();
            }


            if (commodity.coupon === 1) {
                $('.voucher-view').show();
            }

            if (commodity.purchase_count > 0) {
                $('.purchase_count').html("该商品每人累计购买最多" + commodity.purchase_count + "个");
                $('.purchase_count').show();
            }

            //控件
            if (commodity.widget) {
                let parse = JSON.parse(commodity.widget);
                if (parse != null) {
                    parse.forEach(widget => {
                        if (widget.type == "text" || widget.type == "password" || widget.type == "number") {
                            $('.widget').append('<fieldset class="form-group"><label style="display: inline-block;">' + widget.cn + ':</label><input type="' + widget.type + '" class="form-control round" name="' + widget.name + '" placeholder="' + widget.placeholder + '"></fieldset>');
                        } else if (widget.type == "select") {
                            let html = '<fieldset class="form-group"><label style="display: inline-block;">' + widget.cn + ':</label><select name="' + widget.name + '" style="border-radius: 5px;border: 1px dashed #80b9f594;width:auto;height: auto;display: inline-block;padding: 0 0;"><option value="">' + widget.placeholder + '</option>';
                            let dict = widget.dict.split(",");
                            for (let i = 0; i < dict.length; i++) {
                                let sp = dict[i].split("=");
                                if (sp.length != 2) {
                                    continue;
                                }
                                html += '<option value="' + sp[1] + '">' + sp[0] + '</option>'
                            }
                            html += "</select></fieldset>"
                            $('.widget').append(html);
                        } else if (widget.type == "textarea") {
                            $('.widget').append('<fieldset class="form-group"><textarea name="' + widget.name + '" placeholder="' + widget.placeholder + '" style="border-radius: 5px;border: 1px dashed #80b9f594;width: 100%;height: 100px;"></textarea></fieldset>');
                        } else if (widget.type == "checkbox") {
                            let html = '<fieldset class="form-group"><label style="display: inline-block;">' + widget.cn + ':</label>';
                            let dict = widget.dict.split(",");
                            for (let i = 0; i < dict.length; i++) {
                                let sp = dict[i].split("=");
                                if (sp.length != 2) {
                                    continue;
                                }
                                html += '<label style="margin-right: 10px;"><input name="' + widget.name + '[]" type="checkbox" value="' + sp[1] + '"> ' + sp[0] + '</label>';
                            }
                            html += '</fieldset>';
                            $('.widget').append(html);
                        } else if (widget.type == "radio") {
                            let html = '<fieldset class="form-group"><label style="display: inline-block;">' + widget.cn + ':</label>';
                            let dict = widget.dict.split(",");
                            for (let i = 0; i < dict.length; i++) {
                                let sp = dict[i].split("=");
                                if (sp.length != 2) {
                                    continue;
                                }
                                html += '<label style="margin-right: 10px;"><input name="' + widget.name + '" type="radio" value="' + sp[1] + '"> ' + sp[0] + '</label>';
                            }
                            html += '</fieldset>';
                            $('.widget').append(html);
                        }

                    });
                }
            }


            $('.clipboard').attr("data-clipboard-text", commodity.share_url);

            $('.clipboard').click(function () {
                var clipboard = new ClipboardJS(".clipboard");
                clipboard.on('success', function (e) {
                    layer.msg("分享链接已经复制成功了,赶快发给好友吧!")
                });
            });

            $('.captchaImage').click(function () {
                captchaImage();
            });


            //渲染商品种类
            if (commodity.hasOwnProperty('race') && commodity.race) {
                $('.race-view').show();
                let raceIndex = 0;
                for (let key in commodity.race) {
                    if (raceIndex == 0) {
                        globalRaceId = key;
                    }
                    $('.race-list').append('<span onclick="raceClick(this,\'' + key + '\')" class="race-click button-click ' + (raceIndex == 0 ? 'checked' : '') + '" style="padding: 0 8px;font-size: 14px;border-radius: 10px;">' + key + '</span>');
                    raceIndex++;
                }

                let categoryWholesale = function () {
                    //批发渲染
                    let categoryWholesale = commodity.category_wholesale;
                    if (categoryWholesale && categoryWholesale.hasOwnProperty(globalRaceId)) {
                        let rules = categoryWholesale[globalRaceId];
                        let ws = [];
                        for (const ruleKey in rules) {
                            ws[ruleKey] = rules[ruleKey];
                        }
                        let x = '';
                        ws.forEach((money, num) => {
                            x += '<div class="lot_string">一次性购买' + num + '张,单价自动调整为:<b>¥' + money + '</b></div>';
                        });
                        if (ws.length > 0) {
                            $('.wholesale').show();
                            $('.wholesaleHtml').html(x);
                        } else {
                            $('.wholesale').hide();
                        }
                    } else {
                        $('.wholesale').hide();
                    }
                }

                categoryWholesale();

                $('.race-click').click(function () {
                    categoryWholesale();
                });
            } else {
                let wholesale = commodity.wholesale;
                if (wholesale && Object.keys(wholesale).length > 0) {
                    let ws = [];
                    for (const ruleKey in wholesale) {
                        ws[ruleKey] = wholesale[ruleKey];
                    }
                    let x = '';
                    ws.forEach((money, num) => {
                        x += '<div class="lot_string">一次性购买' + num + '张,单价自动调整为:<b>¥' + money + '</b></div>';
                    });
                    if (ws.length > 0) {
                        $('.wholesale').show();
                        $('.wholesaleHtml').html(x);
                    } else {
                        $('.wholesale').hide();
                    }
                }
            }

            if (commodity.draft_status === 1) {
                draftStatus = 1;
                $('.specified').show(150);
                $('.specified .card-title').html('自选加价:<b style="color: #eba0a0;font-weight: bold;">' + commodity.draft_premium + "元</b>");
                getDraftCard(commodity.id, 1);
            } else {
                draftStatus = 0;
            }

            $('html,body').animate({
                scrollTop: 9999
            }, 'slow');
        });
    }

    function getTradeAmount() {
        let num = $('input[name=num]').val();

        if (num <= 0) {
            $('input[name=num]').val(1);
            num = 1;
        }
        let cardId = $('input[name=card_id]:checked').val();
        let coupon = $('input[name=coupon]').val();
        if (cardId === undefined) {
            cardId = 0;
        }
        Pay.getTradeAmount(globalCommodityId, coupon, cardId, num, globalRaceId, res => {
            $('.payAmount').html("¥" + res.amount);
            $('.price').html("¥" + res.price);
            if (res.hasOwnProperty("card_count")) {
                let instance = $('.card_count');
                if (inventoryHidden == 1) {
                    if (res.card_count <= 0) {
                        instance.removeClass("badge-success").addClass("badge-dark").html("已售罄");
                    } else if (res.card_count <= 5) {
                        instance.removeClass("badge-success").addClass("badge-danger").html("即将售罄");
                    } else if (res.card_count <= 20) {
                        instance.removeClass("badge-success").addClass("badge-warning").html("一般");
                    } else if (res.card_count > 20) {
                        instance.addClass("badge-success").html("充足");
                    }
                } else {
                    instance.html(res.card_count);
                }
            }
        });
    }

    function captchaImage() {
                $('.captchaImage').attr("src", "/user/captcha/image?action=trade&rand=" + Math.ceil(Math.random() * 100000));
            }

    function Trade(payId) {
        let cardId = $('input[name=card_id]:checked').val();
        if (cardId === undefined) {
            cardId = 0;
        }

        let arrayToObject = Pay.arrayToObject($('.commodity').serializeArray());
        arrayToObject.commodity_id = globalCommodityId;
        arrayToObject.card_id = cardId;
        arrayToObject.pay_id = payId;
        arrayToObject.device = Pay.device();
        arrayToObject.from = localStorage.hasOwnProperty("from_id") ? localStorage.getItem("from_id") : 0;
        arrayToObject.race = globalRaceId;
        Pay.trade(arrayToObject, res => {
            captchaImage();
            if (res.secret == null) {
                window.location.href = res.url;
            } else {
                //跳转个人中心
                layer.open({
                    type: 1,
                    title: "您购买的卡密如下:",
                    area: Pay.isMobile() ? ["100%", "100%"] : ['420px', '420px'],
                    content: '<textarea class="layui-input" style="padding: 15px;height: 98%;width: 100%;border: none;overflow-x: hidden;">' + res.secret + '</textarea>',
                    btn: ['<span style="color:white;">查看更多信息/下载</span>'],
                    yes: function () {
                        window.open('/user/personal/purchaseRecord?tradeNo=' + res.tradeNo);
                    }
                });
            }
        }, () => {
            captchaImage();
        });
    }

    function raceClick(obj, id) {
        switchElement(obj);
        globalRaceId = id;
        getTradeAmount();
        if (draftStatus) {
            getDraftCard(globalCommodityId, 1);
        }
    }


    Pay.getPay(res => {
        res.forEach(item => {
            if (item.handle === "#system") {
                            } else {
                $('.pay_type').append(' <a class="button-click" onclick="Trade(' + item.id + ')" style="line-height: 22px;"> <img src="' + item.icon + '" class="commodity-icon"> ' + item.name + '</a>');
            }
        })
    });

    let from = parseInt("0");
    if (from !== 0) {
        localStorage.setItem("from_id", from);
    }


    $(function () {
        if (Pay.isPc()) {
            $('.sliderbar-container').sliderBar({
                open: false,           // 默认是否打开,true打开,false关闭
                width: 105,           // body内容宽度
                height: 180,          // body内容高度
                theme: '#f1a3b0',       // 主题颜色
                position: 'left'      // 显示位置,有left和right两种
            });
        } else {
            $('.sliderbar-container').hide();
        }
    });

    window.onload = function() {
        // 确保第一个分类按钮存在
        if ($('.category-button').length > 0) {
            // 获取第一个分类按钮并触发点击事件
            $('.category-button').first().click();
        }
    };
</script>
<div class="content-icp"></div>
<!--start::HOOK-->


<!--end::HOOK-->
</body>
<!--start::HOOK-->


<!--end::HOOK-->
</html>                               

Whois info of domain

Domain Name: YSCQ2.COM
Registry Domain ID: 2941366398_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.cloudflare.com
Registrar URL: http://www.cloudflare.com
Updated Date: 2024-12-11T09:08:42Z
Creation Date: 2024-12-11T09:08:37Z
Registry Expiry Date: 2034-12-11T09:08:37Z
Registrar: Cloudflare, Inc.
Registrar IANA ID: 1910
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +1.6503198930
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Name Server: ADRIAN.NS.CLOUDFLARE.COM
Name Server: LAKAS.NS.CLOUDFLARE.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of whois database: 2025-05-17T21:12:33Z <<<
For more information on Whois status codes, please visit https://icann.org/epp
NOTICE: The expiration date displayed in this record is the date the
TERMS OF USE: You are not authorized to access or query our Whois
by the following terms of use: You agree that you may use this Data only
to: (1) allow, enable, or otherwise support the transmission of mass