You've already forked qlg.tsgz.moe
							
							购物车查询问题
This commit is contained in:
		| @@ -49,7 +49,7 @@ class Carts extends Base{ | |||||||
| 				$data['cartNum'] = $cartNum; | 				$data['cartNum'] = $cartNum; | ||||||
| 				$rs = $this->save($data); | 				$rs = $this->save($data); | ||||||
| 			}else{ | 			}else{ | ||||||
| 				$rs = $this->where(['userId'=>$userId,'goodsId'=>$goodsId,'goodsSpecId'=>$goodsSpecId])->setInc('cartNum',$cartNum); | 				$rs = $this->where(['userId'=>$userId,'goodsId'=>$goodsId,'goodsSpecId'=>$goodsSpecId, 'goodsType'=>$goodsType])->setInc('cartNum',$cartNum); | ||||||
| 			} | 			} | ||||||
| 			if(false !==$rs){ | 			if(false !==$rs){ | ||||||
| 				if($type==1){ | 				if($type==1){ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user