码迷,mamicode.com
首页 > Web开发 > 详细

114yeah_js

时间:2016-04-27 20:52:03      阅读:382      评论:0      收藏:0      [点我收藏+]

标签:

1、网址

  http://www.114yeah.com/

2、

总是提示 "签约失败"。

 

3、Index 的 JavaScript

<script type="text/javascript">
    function sign(){
        $.post(
            ‘/Index/encrypchar.html‘,
            function(rekey){
                $.get(
                    ‘http://61.160.183.220/jsts/ebit/sign‘,
                    {
                        k:rekey
                    },function(signstatus){
                        switch(signstatus.code){
                            case ‘0‘:
                                $.post(
                                    ‘/Index/record.html‘,
                                    {
                                        interuser:signstatus.un,
                                        intercode:signstatus.code
                                    },function(instatus){
                                        location.href = ‘/Index/speedup.html‘;
                                    }
                                );
                                break;
                            case ‘-30000‘:
                            $.post(
                                    ‘/Index/failrecord.html‘,
                                    {
                                        interuser:signstatus.un,
                                        intercode:signstatus.code
                                    },function(){}
                                );


                                alert(‘很抱歉,提速失败,您可能不符合参加本次活动的条件,正在为您跳转最好的网址大全!‘);
                                location.href = ‘http://www.hao123.com/?tn=91548561_hao_pg‘;
                                break;
                            default:

                            $.post(
                                    ‘/Index/failrecord.html‘,
                                    {
                                        interuser:signstatus.un,
                                        intercode:signstatus.code
                                    },function(){}
                                );

                                alert(‘签约失败!‘);
                                break;
                        }
                    }
                );
            }
        );
    }
</script>

 

4、

5、

 

114yeah_js

标签:

原文地址:http://www.cnblogs.com/messzc/p/5440167.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!