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

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

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);
});