fix(product): add queue goods filter and fix date range query
Support filtering by queue goods in admin product lists and correct product create-time range query to use add_time. Also update README default admin account note and restore app auth key config reference. Made-with: Cursor
This commit is contained in:
@@ -61,6 +61,7 @@ class StoreProduct extends AuthController
|
||||
['stock_range', ''],//库存区间
|
||||
['collect_range', ''],//收藏区间
|
||||
['product_clear', ''],//适用群体
|
||||
['is_queue_goods', ''],//报单商品
|
||||
]);
|
||||
|
||||
if ($this->adminType == 4) {
|
||||
@@ -201,6 +202,7 @@ class StoreProduct extends AuthController
|
||||
['stock_range', ''],//库存区间
|
||||
['collect_range', ''],//收藏区间
|
||||
['product_clear', ''],//适用群体
|
||||
['is_queue_goods', ''],//报单商品
|
||||
]);
|
||||
if ($this->adminType == 4) {
|
||||
$where['supplier_id'] = $this->adminId;
|
||||
|
||||
Reference in New Issue
Block a user