update
This commit is contained in:
parent
b4a6d5440f
commit
b34f9745dc
|
|
@ -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("."));
|
||||
|
|
|
|||
Loading…
Reference in New Issue