亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

jquery異步跨域訪問(wèn)代碼

 更新時(shí)間:2013年06月28日 16:24:42   作者:  
下面是關(guān)于jquery異步跨域訪問(wèn)的簡(jiǎn)單實(shí)例,需要的朋友可以參考一下

復(fù)制代碼 代碼如下:

/*
    $.ajax({
        url : url,
        type : 'POST',
        data : {
            CorpID : CorpID,
            Pwd : Pwd,
            Mobile : Mobile,
            Content : Content,
            Cell : '',
            SendTime : ''
        },
        async : true,//異步
        dataType : 'text',//'text','jsonp'
        success : function(data, textStatus) {
            //alert(data);
            if (data == 0) {
                alert("短信已發(fā)送成功,請(qǐng)注意查收!");
            } else if (data == -1) {
                alert("賬號(hào)未注冊(cè)!");
            } else if (data == -2) {
                alert("服務(wù)端報(bào)錯(cuò)信息:其他錯(cuò)誤.");
            } else if (data == -3) {
                alert("帳號(hào)或密碼錯(cuò)誤!");
            } else if (data == -4) {
                alert("手機(jī)號(hào)碼格式不正確!");
            } else if (data == -5) {
                alert("余額不足,請(qǐng)先充值!");
            } else if (data == -6) {
                alert("定時(shí)發(fā)送時(shí)間不是有效的時(shí)間格式!");
            } else if (data == -7) {
                alert("禁止10小時(shí)以?xún)?nèi)向同一手機(jī)號(hào)發(fā)送相同短信!");
            } else if (data != null) {
                alert("返回代碼:" + data);
            }
        },
        error : function(data) {
            alert('發(fā)送短信: 調(diào)用短信接口出錯(cuò),請(qǐng)及時(shí)聯(lián)系管理員!');
        }
    });
    */

相關(guān)文章

最新評(píng)論