Merge branch 'test6.9.3' into gray
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -107,7 +107,7 @@ | @@ -107,7 +107,7 @@ | ||
107 | width: 171, | 107 | width: 171, |
108 | height: 120, | 108 | height: 120, |
109 | realInputName: "topicImageUrl", | 109 | realInputName: "topicImageUrl", |
110 | - url: serverContextPath + '/fileupload/uploadFile', | 110 | + url: serverContextPath + '/fileupload/upload', |
111 | queryParams: { | 111 | queryParams: { |
112 | bucket: "grassImg" | 112 | bucket: "grassImg" |
113 | }, | 113 | }, |
@@ -126,7 +126,7 @@ | @@ -126,7 +126,7 @@ | ||
126 | $.messager.alert("错误", data.message); | 126 | $.messager.alert("错误", data.message); |
127 | return ""; | 127 | return ""; |
128 | } | 128 | } |
129 | - return data.data.url; | 129 | + return data.data; |
130 | }, | 130 | }, |
131 | onLoadSuccess: function (data) { | 131 | onLoadSuccess: function (data) { |
132 | $.messager.progress("close"); | 132 | $.messager.progress("close"); |
-
Please register or login to post a comment