Merge branch 'dev'
Some checks are pending
Build Docker / build (push) Waiting to run

This commit is contained in:
haomingming 2025-12-23 09:45:29 +08:00
commit ef2ae67a37

View File

@ -37,6 +37,7 @@ class getProductStockCommand extends HyperfCommand
try { try {
// 获取商品 // 获取商品
$params = array(); $params = array();
$params['product_status'] = 1;
$product = Product::getPage($params,['*'],1,10); $product = Product::getPage($params,['*'],1,10);
if (empty($product['data'])){ if (empty($product['data'])){
$this->line("商品库存更新成功,无可更新库存商品"); $this->line("商品库存更新成功,无可更新库存商品");