增加前端上传签名

This commit is contained in:
icret
2023-03-05 21:46:49 +08:00
parent f311863c73
commit b620eb412b
6 changed files with 53 additions and 37 deletions

View File

@@ -128,6 +128,10 @@ mustLogin();
flash_swf_url: '<?php static_cdn(); ?>/public/static/zui/lib/uploader/Moxie.swf',
// silverlight 上传组件地址
flash_swf_url: '<?php static_cdn(); ?>/public/static/zui/lib/uploader/Moxie.xap',
// sign
multipart_params: {
'sign': '<?php echo md5($config['password'] . date('YmdH')); ?>', // new Date().format("YYYYMMddhh")
},
// 预览图尺寸
previewImageSize: {
'width': 80,