mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-22 14:45:43 +08:00
修复附件管理名称超长问题
This commit is contained in:
@@ -161,7 +161,7 @@ public class AlbumsServiceImpl implements IAlbumsService {
|
||||
album.setAid(Integer.parseInt(params.get("aid") == null ? "0" : params.get("aid")));
|
||||
album.setUid(Integer.parseInt(params.get("uid") == null ? "0" : params.get("uid")));
|
||||
album.setType(Integer.parseInt(params.get("type")));
|
||||
album.setName(params.get("name"));
|
||||
album.setName(params.get("name").substring(0, 99));
|
||||
album.setExt(params.get("ext"));
|
||||
album.setUri(params.get("url"));
|
||||
album.setSize(Long.parseLong(params.get("size")));
|
||||
|
||||
Reference in New Issue
Block a user