V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dingyaguang117
V2EX  ›  分享发现

用程序刷出一个小米成功的response,但是不知道应该跳转到哪里

  •  
  •   dingyaguang117 · 2013-10-22 12:29:25 +08:00 · 3695 次点击
    这是一个创建于 3862 天前的主题,其中的信息可能已经有所发展或是发生改变。
    hdcontrol({"stime":1382415866,"status":{"allow":false,"miphone":{"hdstart":true,"hdstop":false,"hdurl":"?_a=20131022_phone_df56ab516d&_op=choose","duration":null, "pmstart":false},"mibox":{"hdstart":true,"hdstop":false,"hdurl":"?_a=20131022_box_f9348273e1&_op=choose","duration":null, "pmstart":false},"mitv":{"hdstart":false,"hdstop":true,"hdurl":"","duration":null, "pmstart":false}}})

    可以看到
    "hdurl":"?_a=20131022_phone_df56ab516d&_op=choose"
    17 条回复    1970-01-01 08:00:00 +08:00
    pubby
        1
    pubby  
       2013-10-22 12:35:55 +08:00
    -_- 开玩笑吧

    allow:false的也行?

    这是上次的代码,这次的也差不多

    if(isRollStatus){
    if(json.status.allow){
    if(isPhone===true){
    isPhone=false;
    if(json.status.miphone.hdurl==null||json.status.miphone.hdurl== _$[42]){
    window.location.reload()
    }else{
    location.href= _$[43]+json.status.miphone.hdurl
    }
    }else if(isBox===true){
    isBox=false;
    if(json.status.mibox.hdurl== _$[44]||json.status.mibox.hdurl==null){
    window.location.reload()
    }else{
    location.href= _$[45]+json.status.mibox.hdurl
    }
    }
    };
    isRollStatus=false
    };
    pubby
        2
    pubby  
       2013-10-22 12:36:58 +08:00
    今天简单测试了一下

    开抢
    var qiang = setInterval(function(){ isBox=true,isRollStatus=true; miphoneBuy.jsonInter();},1000)


    没抢到 -_-
    xspoco
        3
    xspoco  
       2013-10-22 12:44:01 +08:00 via iPhone
    4个号手动点了15分钟都没抢到,极度怀疑暗箱内定
    binux
        4
    binux  
       2013-10-22 12:47:46 +08:00
    等我知道跳转到哪的时候,hdurl已经返回为空了
    pubby
        5
    pubby  
       2013-10-22 12:48:40 +08:00
    @binux allow:false 你跳过去也没用啊
    qdvictory
        6
    qdvictory  
       2013-10-22 12:49:54 +08:00
    开了4个浏览器,点了20分钟,抢了一盒子
    binux
        7
    binux  
       2013-10-22 12:51:21 +08:00
    @pubby 我一开始是true的,后来变成false了
    LU35
        8
    LU35  
       2013-10-22 12:52:14 +08:00 via Android
    @xspoco 新号很难抢到,我朋友注册四个手机,其他三个从没抢到过。我自己也是同样的情况,之前买过的老号抢到四个了,其他新号永远抢不到。
    pubby
        9
    pubby  
       2013-10-22 12:53:31 +08:00
    @binux 可惜了 -_-
    L0rAx
        10
    L0rAx  
       2013-10-22 12:56:57 +08:00
    @qdvictory 估计今天盒子好抢吧,我5分钟抢了一个,电视机没抢到
    chaojie
        11
    chaojie  
       2013-10-22 12:59:56 +08:00
    rp爆发,求红米求不到,终于自己抢了一个
    pubby
        12
    pubby  
       2013-10-22 15:08:31 +08:00
    下午3点这波刷出一个,但是之前没预约,苍天啊。。。。。。。
    Sivan
        13
    Sivan  
       2013-10-22 16:14:39 +08:00
    LZ,到了抢购时间,只要还没卖光,任何请求都会返回那串地址。
    underone
        14
    underone  
       2013-10-22 16:26:05 +08:00
    @Sivan 我今天又忘了抢了……
    Sivan
        15
    Sivan  
       2013-10-22 16:30:54 +08:00
    @underone 你要抢什么啊?盒子吗?我给你啊。
    kylix
        16
    kylix  
       2013-10-22 17:55:31 +08:00
    有啥好抢的? 又抢不到的。
    underone
        17
    underone  
       2013-10-22 23:11:09 +08:00
    @Sivan 新盒子是说易迅也有卖的吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2251 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.