|
|
@@ -568,7 +568,7 @@ class ProductController extends BaseController
|
|
|
util::fail('没有花材信息');
|
|
|
}
|
|
|
$ghsInfo = GhsClass::getById($ghsId, true);
|
|
|
- $level = $ghsInfo->giveLevel ? $ghsInfo->giveLevel : 1;
|
|
|
+ $level = isset($ghsInfo->giveLevel) ? $ghsInfo->giveLevel : 1;
|
|
|
noticeUtil::push($ghsId . ' ' . $level, '15280215347');
|
|
|
$list = ProductClass::groupProductInfo([$product], $level);
|
|
|
$product = current($list);
|