jQuery.ajax post json

澹台权
2023-12-01
jQuery.ajax({
    type: "POST",
    url: "https://fd.my.cn/api/product/getUploadFileLogs",
    data: JSON.stringify({"fileName": "", "startTime": "2022-02-07 00:00:00", "endTime": "2022-02-07 23:59:59"}),
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function (data) {alert(data);},
    error: function (errMsg) {
     alert(errMsg);
    }
   });
 类似资料:

相关阅读

相关文章

相关问答