V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
abbatuu
V2EX  ›  问与答

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

  •  
  •   abbatuu · 2018-07-16 00:48:21 +08:00 · 1681 次点击
    这是一个创建于 2101 天前的主题,其中的信息可能已经有所发展或是发生改变。
    8 条回复    2018-07-17 10:52:57 +08:00
    KIR1TO
        1
    KIR1TO  
       2018-07-16 00:55:45 +08:00 via Android
    江苏 4g 测试和你一样的情况
    xsdhy
        2
    xsdhy  
       2018-07-16 00:58:04 +08:00
    看了下,是你 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
        3
    xsdhy  
       2018-07-16 01:00:39 +08:00   ❤️ 1
    Athrob
        4
    Athrob  
       2018-07-16 08:17:39 +08:00   ❤️ 1
    2 楼说的对, 对这种不测试好就上线的情况已无力吐槽...
    whileFalse
        5
    whileFalse  
       2018-07-16 08:48:01 +08:00
    @Athrob #4 测试环境没有 https 很正常
    input2output
        6
    input2output  
       2018-07-16 09:13:42 +08:00
    abbatuu
        7
    abbatuu  
    OP
       2018-07-16 09:55:59 +08:00
    @xsdhy 正解! 坑爹的上海市税务局的官方网站 几年了 都这样

    @Athrob 搞得我总觉得是自己的问题
    baobao1270
        8
    baobao1270  
       2018-07-17 10:52:57 +08:00 via Android
    江苏电信 4g 连接被重置???
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5201 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:42 · PVG 17:42 · LAX 02:42 · JFK 05:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.