问题恢复

feature/main20240421
郭嘉 6 months ago
parent cb86a52b3e
commit c5a80c10b6
  1. 2
      app/common/model/Feedback.php
  2. 8
      app/common/model/Goods.php

@ -38,7 +38,7 @@ class Feedback extends BaseModel
{
$where = [
'merchant_id' => $merchantId,
'store_id' => self::$storeId
//'store_id' => self::$storeId
];
return static::get($where, []);
}

@ -433,11 +433,7 @@ class Goods extends BaseModel
$filter[] = ['stock_total', '=', 0]; // 已售罄
}
}
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
if (isset($params['data_type']) && $params['data_type'] != "") {
if ($params['data_type'] == 1) {
$filter[] = ['data_type', '=', 1]; // 出售中
@ -448,10 +444,6 @@ class Goods extends BaseModel
}
}
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
// 商品状态
$params['status'] > 0 && $filter[] = ['status', '=', (int)$params['status']];
$a = 1;

Loading…
Cancel
Save