|
|
|
@ -212,9 +212,9 @@ var userInfo = {userId:"kazaff", md5:""}; //用户会话信息
|
|
|
|
|
var chunkSize = 5000 * 1024; //分块大小
|
|
|
|
|
var uniqueFileName = null; //文件唯一标识符
|
|
|
|
|
var md5Mark = null;
|
|
|
|
|
// var backEndUrl = "{:U('File/shard_upload',array('session_id'=>session_id()))}";
|
|
|
|
|
var backEndUrl = "{:U('File/shard_upload',array('session_id'=>session_id()))}";
|
|
|
|
|
|
|
|
|
|
var backEndUrl = "http://8.136.139.249:8009/admin.php?s=/File/shard_upload.html";
|
|
|
|
|
// var backEndUrl = "http://8.136.139.249:8009/admin.php?s=/File/shard_upload.html";
|
|
|
|
|
WebUploader.Uploader.register({
|
|
|
|
|
"before-send-file" : "beforeSendFile",
|
|
|
|
|
"before-send" : "beforeSend",
|
|
|
|
|