|
@@ -94,9 +94,9 @@ public class GoodsService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (containsWeek(goods.getWeek(), merchantSettings.getWeek())) {
|
|
|
|
|
|
|
+ /*if (containsWeek(goods.getWeek(), merchantSettings.getWeek())) {
|
|
|
throw new BusinessException("商品销售日期不在营业日期内");
|
|
throw new BusinessException("商品销售日期不在营业日期内");
|
|
|
- }
|
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
|
|
if (goods.getId() == null) {
|
|
if (goods.getId() == null) {
|
|
|
goods.setLikes(0);
|
|
goods.setLikes(0);
|