购物车可以添加助威吧

This commit is contained in:
2019-10-29 22:10:07 +08:00
parent 5e5736a281
commit 2d19864f47
4 changed files with 6 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class Carts extends Base{
//goods_specs表的规格ID
$goodsSpecId = (int)input('post.goodsSpecId');
$type = (int)input('post.type');
$goodsType = (int)input('post.from',3);
$goodsType = (int)input('post.from',2);
//mark 添加验证
//$m = new \addons\hyhsale\model\Hyhsale();
// if($type == 0 && model('\addons\hyhsale\model\Hyhsale')->getEffectiveGoods(['goodsId'=>$goodsId,'specsId'=>$goodsSpecId])){