[FEAT] remove in upload cover the filename
This commit is contained in:
parent
0b57d8571c
commit
5f9d13d315
@ -214,6 +214,15 @@ public class DataTools {
|
||||
return data;
|
||||
}
|
||||
|
||||
public static <CLASS_TYPE, ID_TYPE> Response uploadCover(
|
||||
final Class<CLASS_TYPE> clazz,
|
||||
final ID_TYPE id,
|
||||
final InputStream fileInputStream,
|
||||
final FormDataContentDisposition fileMetaData) {
|
||||
return uploadCover(clazz, id, fileMetaData.getFileName(), fileInputStream, fileMetaData);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static <CLASS_TYPE, ID_TYPE> Response uploadCover(
|
||||
final Class<CLASS_TYPE> clazz,
|
||||
final ID_TYPE id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user