Compare commits

..

No commits in common. "ef2ae67a3704c4fcb498f0a743bc7a713ce6cc53" and "7690ec848bb5626e664dfded51482d4276fd5e77" have entirely different histories.

View File

@ -37,7 +37,6 @@ 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("商品库存更新成功,无可更新库存商品");