    var path = location.pathname.split('/')
    path = path.pop();
    var ua = navigator.userAgent.toLowerCase();
    var bIsIpad = ua.match(/ipad/i) == "ipad";
    var bIsIphoneOs = ua.match(/iphone/i) == "iphone";
    var bIsAndroid = ua.match(/android/i) == "android";
    var bIsWM = ua.match(/windows mobile/i) == "windows mobile";
    var lsktt = {
        talist: [],
        debug: 0
    };
    lsktt.talist = window.location.href.split("?");
    if (lsktt.talist[1]) {//即存在的话
        if (lsktt.talist[1].indexOf("debug=1") >= 0) {
            lsktt.debug = 1;
        }
    }
    var host_pc = "https://www.guanlixi.com/";
    var host_mobile = "https://m.guanlixi.com/";
    if (lsktt.debug == 0) {//即不是0，要跳转
        if (bIsIphoneOs || bIsAndroid || bIsWM) {//手机端
            if (window.location.href.indexOf(host_mobile) < 0) {
                window.location.href = window.location.href.replace(host_pc, host_mobile)
            }
        } else {//如果在电脑端
            if (window.location.href.indexOf(host_pc) < 0) {
                window.location.href = window.location.href.replace(host_mobile, host_pc)
            }
        }
    }