|
|
@@ -62,10 +62,10 @@ class ProductController extends BaseController
|
|
|
|
|
|
//客户等级
|
|
|
$customId = Yii::$app->request->get('customId', 0);
|
|
|
- $level = 0;
|
|
|
+ $level = 1;
|
|
|
if (!empty($customId)) {
|
|
|
$custom = CustomClass::getById($customId, true);
|
|
|
- $level = $custom->level ?? 0;
|
|
|
+ $level = $custom->level ?? 1;
|
|
|
}
|
|
|
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
|