$.ajax({
url: "../hf/chat/ftpsend",
type: "post",
dataType: "json",
timeout: 60000,
async: false,
data: {
fileName: ".././upload/80578c12-d2c9-4259-bdea-e283adebc23c.jpg"
},
success: function(resp) {
//console.log(resp);
if (resp.success == true) {
result = resp.msg.filepath;
var date = new Date();
var content = "<img class='img-responsive imagesid' src='" + result + "'>";
message
.insertRightText(
content,
common
.getFormatDateByLong(
Math
.round(date.getTime()),
"hh:mm:ss")); // 发送消息
clear();
// 双击图片查看全图
$(".imagesid").dblclick(function() {
common.modal({
title: "截图查看",
body: $(this).get(0).outerHTML
});
});
} else {
result = "false";
alert("截图上传失败,请重试!");
}
},
error:function(resp){
alert("上传发送失败!")
//console.log("上传失败:"+resp);
}
});

后台服务服务器eroror,后台服务器的错误日志是什么?后台服务器使用的是什么语言,什么框架