abbatuu
V2EX  ›  问与答

这是服务器的问题 还是我的问题

  •  
  •   abbatuu · Jul 16, 2018 · 2555 views
    This topic created in 3061 days ago, the information mentioned may be changed or developed.
    8 replies  •  2018-07-17 10:52:57 +08:00
    KIR1TO
    KIR1TO
    Jul 16, 2018 via Android
    1
    江苏 4g 测试和你一样的情况
    xsdhy
    xsdhy
    Jul 16, 2018
    2
    看了下,是你 https://www.tax.sh.gov.cn/这个页面里面有段 js 代码的问题


    <script type="text/javascript">
    var urlStr = document.location.toString();
    if (urlStr.indexOf('pub') == -1) {
    urlStr = urlStr.replace('zbtax', 'jatax');
    var tempURL = urlStr.replace('http://www.', '');
    tempURL = tempURL.substring(0, tempURL.indexOf('.'));
    //tempURL = (tempURL == 'tax' || tempURL == 'csj') ? 'pub' : tempURL;
    if (tempURL == 'tax' || tempURL == 'csj') {
    tempURL = 'pub';
    urlStr += '/' + tempURL;
    } else if (tempURL == '12366') {
    tempURL = '12366gjsy/indexChinese.html';
    urlStr += tempURL;
    } else {
    urlStr += '/' + tempURL;
    }
    document.location = urlStr;
    }
    </script>
    xsdhy
    xsdhy
    Jul 16, 2018❤️1
    3
    Athrob
    Athrob
    Jul 16, 2018❤️1
    4
    2 楼说的对, 对这种不测试好就上线的情况已无力吐槽...
    whileFalse
    whileFalse
    Jul 16, 2018
    5
    @Athrob #4 测试环境没有 https 很正常
    abbatuu
    abbatuu
    OP
    Jul 16, 2018
    7
    @xsdhy 正解! 坑爹的上海市税务局的官方网站 几年了 都这样

    @Athrob 搞得我总觉得是自己的问题
    baobao1270
    baobao1270
    Jul 17, 2018 via Android
    8
    江苏电信 4g 连接被重置???
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4173 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 08:51 · PVG 16:51 · LAX 00:51 · JFK 03:51
    ♥ Do have faith in what you're doing.