Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
cuibaocheng 2021-03-19 16:12:09 +08:00
commit b6f5248b38

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') {