|
@@ -15,7 +15,7 @@ function prepareUpload(event) {
|
|
processData: false, // important
|
|
processData: false, // important
|
|
contentType: false, // important
|
|
contentType: false, // important
|
|
data: data,
|
|
data: data,
|
|
- url: '192.168.1.106:8887/uploadfile',
|
|
|
|
|
|
+ url: 'uploadfile',
|
|
dataType: 'json',
|
|
dataType: 'json',
|
|
success: function (jsonData) {
|
|
success: function (jsonData) {
|
|
event.target.previousSibling.value =jsonData.msg;
|
|
event.target.previousSibling.value =jsonData.msg;
|