You've already forked qlg.tsgz.moe
							
							逻辑更改
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -323,6 +323,8 @@ class Orders extends Base{ | ||||
| 		// 验证商品规格是否已选 | ||||
| 		foreach ($carts['carts'] as $v) { | ||||
| 			foreach ($v['list'] as $val) { | ||||
|                 // 坑啊判断下会死嘛 ---- 20200116 | ||||
| 			    if($val['isSpec']!=1)continue; | ||||
| 				$id = Db::name('goods_specs')->where(['shopId'=>$val['shopId'],'goodsId'=>$val['goodsId']])->column('id'); | ||||
| 				if($id && $val['goodsSpecId'] == ''){ | ||||
| 					return WSTReturn("请选择商品规格型号!"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user