This commit is contained in:
parent
823d62728d
commit
c8da9bcd93
@ -37,6 +37,7 @@ class getProductStockCommand extends HyperfCommand
|
||||
try {
|
||||
// 获取商品
|
||||
$params = array();
|
||||
$params['product_status'] = 1;
|
||||
$product = Product::getPage($params,['*'],1,10);
|
||||
if (empty($product['data'])){
|
||||
$this->line("商品库存更新成功,无可更新库存商品");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user