var editor = K.editor({
uploadJson: "http://localhost:8900/KindEdit/UploadGift?username=262640760&password=jZae727K08KaOmKSgOaGzww/XVqGr/PKEgIMkjrcbJI=",
fileManagerJson: "/ashx/TestAshx/file_manager_json.ashx",
allowFileManager: true
});
解决思路:首先提交同域名下的URL,然后经过服务器的API上传到图片服务器
提交同域名下,有利于权限验证,之前我做的是,把用户名密码,保存在隐藏域里面,这样非常的不安全。
浙公网安备 33010602011771号