文件上传https

This commit is contained in:
chen-xin-zhi 2025-03-18 14:29:48 +08:00
parent a7bac83116
commit 8b6a558f03

View File

@ -164,6 +164,8 @@ public class GoodController {
}
Good good = new Good();
BeanUtils.copyProperties(goodAddRequest, good);
String url = festivalService.getUrlByFestivalName(good.getFestivalName());
good.setFestivalName(good.getFestivalName() + ";" + url);
// 校验
goodService.validGood(good, false);
boolean save = goodService.save(good);