购物车和购物地址设置

This commit is contained in:
2019-10-30 22:21:07 +08:00
parent caeb0d917c
commit a18c8d4cc8
4 changed files with 2 additions and 2 deletions

View File

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