@ -49,7 +49,7 @@ class GoodsActivityService implements GoodsActivityServiceInterface
}
// 商户歇业
if($goods->store->is_rest == 1){
if(is_null($goods->store) || $goods->store->is_open == 0 || $goods->store->is_rest == 1){
return ErrorCode::STORE_REST;
@ -40,7 +40,7 @@ class GoodsService implements GoodsServiceInterface
// 商品下架或已删除