后台成功,返回都是error,textStatus=parsererror,errorThrown=Error: jQuery191018571711744671404_1546074318943 was not called function UpdateOrgChkStt(){ var date = new Date(); var url = GetUrl() + "/Api/OrgChkApp/UpdateOrgChkStt"; var stt = '-1'; jQuery.ajax({ url: url, type: 'POST', data: { CpnID: cpnid, OrgID: orgid, ChkID: plnid, Uptr: uptr, Stt:stt, time: dateFtt('yyyyMMddhhmmssS', date), sign: getSign([cpnid, orgid, plnid, uptr,stt, getSignDate(date)]) }, dataType: "jsonp", jsonp: "callback", success: function (data, textStatus) { alert(1) }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert(-1); }, }); } |
最佳回答 |
||||
0
|
|