Compare commits
2 Commits
7690ec848b
...
ef2ae67a37
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef2ae67a37 | ||
|
|
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