Browse Source

更新购物车

master
weigang 5 years ago
parent
commit
fd6f34b9b1
  1. 2
      app/Service/v3/Implementations/ShopCartUpdateService.php

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

@ -15,7 +15,7 @@ class ShopCartUpdateService implements ShopCartUpdateServiceInterface
{
$goodsType = '';
//判断是普通商品还是特价商品
if(isset($params['activity']) && $params['activity'] == GoodsConstants::IS_ACTIVITY){
if($activity_type == GoodsConstants::IS_ACTIVITY){
$builder = GoodsActivity::query();
$goodsType = GoodsActivity::class;
}else{

Loading…
Cancel
Save