删除leaui不要文件; file/outputImage 变成 api/file/getImage

This commit is contained in:
lealife committed 2015-10-30 14:05:51 +08:00
1 parent 6eea03f81e
commit 6818574605
26 files changed
+10 -13176

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ tinymce.PluginManager.add('leaui_image', function(editor, url) {
ajaxPost("/file/copyImage", {userId: UserInfo.UserId, fileId: fileId, toUserId: curNote.UserId}, function(re) {
if(reIsOk(re) && re.Id) {
var urlPrefix = UrlPrefix; // window.location.protocol + "//" + window.location.host;
data.src = urlPrefix + "/file/outputImage?fileId=" + re.Id;
data.src = urlPrefix + "/api/file/getImage?fileId=" + re.Id;
}
renderImage(data);
});