|
|
@ -5,12 +5,12 @@ |
|
|
|
* @returns 返回自定义的上传接口 |
|
|
|
* @returns 返回自定义的上传接口 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
let UPLOADFILE = 'https://·/brest//fileUpload/uploadfile'; |
|
|
|
let UPLOADFILE = 'https://nc.jyfwy.cn/crest//fileUpload/uploadfile'; |
|
|
|
|
|
|
|
|
|
|
|
UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl; |
|
|
|
UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl; |
|
|
|
UE.Editor.prototype.getActionUrl = function(action) { |
|
|
|
UE.Editor.prototype.getActionUrl = function(action) { |
|
|
|
/* 按config中的xxxActionName返回对应的接口地址 */ |
|
|
|
/* 按config中的xxxActionName返回对应的接口地址 */ |
|
|
|
if (action == 'uploadimage' || action == 'uploadscrawl') { |
|
|
|
if (action === 'uploadimage' || action == 'uploadscrawl') { |
|
|
|
return UPLOADFILE; |
|
|
|
return UPLOADFILE; |
|
|
|
} else if (action == 'uploadvideo') { |
|
|
|
} else if (action == 'uploadvideo') { |
|
|
|
return UPLOADFILE; |
|
|
|
return UPLOADFILE; |
|
|
|