Commit b34f9745 authored by lilin's avatar lilin
Browse files

update

parent b4a6d544
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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("."));