文件上传bug修改。(上传路径去掉“/V2”这个路径参数)

This commit is contained in:
Renpc-kilig 2021-03-16 16:51:06 +08:00
parent 8a3533ce0e
commit 61ed5d1018

View File

@ -242,7 +242,7 @@ layui.define(function(exports) {
var self = this; var self = this;
var fileType = opt.type; var fileType = opt.type;
var customType = opt.customType; var customType = opt.customType;
var url = 'route/file/uploadfile/v2/'; var url = 'route/file/uploadfile/';
if (fileType == 'image') { if (fileType == 'image') {
url += '2'; url += '2';
} else if (fileType == 'video') { } else if (fileType == 'video') {