This commit is contained in:
lilin 2020-01-15 14:56:17 +08:00
parent b4a6d5440f
commit b34f9745dc
1 changed files with 0 additions and 6 deletions

View File

@ -235,12 +235,6 @@ public class ResourcesService extends BaseService {
return result;
}
// query tenant by user id
String tenantCode = getTenantCode(resource.getUserId(),result);
if (StringUtils.isEmpty(tenantCode)){
return result;
}
//get the file suffix
String originResourceName = resource.getAlias();
String suffix = originResourceName.substring(originResourceName.lastIndexOf("."));