|
|
@@ -125,15 +125,15 @@ class CheckOrderController extends BaseController
|
|
|
util::fail('花材格式不正确');
|
|
|
}
|
|
|
|
|
|
- if ($this->shopId == 2164) {
|
|
|
- foreach ($ghsItemInfo as $key => $val) {
|
|
|
- $pId = $val['productId'] ?? 0;
|
|
|
- $info = ProductClass::getById($pId, true);
|
|
|
- if ($info->mainId != 2126) {
|
|
|
- unset($ghsItemInfo[$key]);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+// if ($this->mainId == 2126) {
|
|
|
+// foreach ($ghsItemInfo as $key => $val) {
|
|
|
+// $pId = $val['productId'] ?? 0;
|
|
|
+// $info = ProductClass::getById($pId, true);
|
|
|
+// if ($info->mainId != 2126) {
|
|
|
+// unset($ghsItemInfo[$key]);
|
|
|
+// }
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
//判断花材格式,是否属于当前门店
|
|
|
ProductClass::valid($ghsItemInfo, $this->mainId);
|