Browse Source

no message

master
weigang 5 years ago
parent
commit
cb3c15187a
  1. 2
      app/Service/v3/Implementations/GoodsActivityService.php
  2. 2
      app/Service/v3/Implementations/GoodsService.php

2
app/Service/v3/Implementations/GoodsActivityService.php

@ -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;
}

2
app/Service/v3/Implementations/GoodsService.php

@ -40,7 +40,7 @@ class GoodsService implements GoodsServiceInterface
}
// 商户歇业
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;
}
// 商品下架或已删除

Loading…
Cancel
Save