修改产品状态接口
This commit is contained in:
@@ -124,7 +124,7 @@ class Product extends BaseController
|
||||
$id = $this->input_param('id');
|
||||
$status = $this->input_param('status');
|
||||
/** @var AutoProductEntity $row */
|
||||
$row = $this->autoProduct->get(['id' => $id], 'AutoProductEntity');
|
||||
$row = $this->autoProduct->get(['id' => $id], '', 'AutoProductEntity');
|
||||
if (!$row) {
|
||||
$this->return_json('参数错误');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user