|
|
|
@ -5,12 +5,12 @@ |
|
|
|
|
* @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.getActionUrl = function(action) { |
|
|
|
|
/* 按config中的xxxActionName返回对应的接口地址 */ |
|
|
|
|
if (action == 'uploadimage' || action == 'uploadscrawl') { |
|
|
|
|
if (action === 'uploadimage' || action == 'uploadscrawl') { |
|
|
|
|
return UPLOADFILE; |
|
|
|
|
} else if (action == 'uploadvideo') { |
|
|
|
|
return UPLOADFILE; |
|
|
|
|