|
...
|
...
|
@@ -127,7 +127,7 @@ class ProductLogic extends BaseLogic |
|
|
|
// DB::beginTransaction();
|
|
|
|
// try {
|
|
|
|
foreach ($this->param['ids'] as $k => $id) {
|
|
|
|
$info = $this->model->read(['id'=>$id],['id']);
|
|
|
|
$info = $this->model->read(['id'=>$id],['id','status']);
|
|
|
|
if($info['status'] == Product::STATUS_RECYCLE){
|
|
|
|
$this->delRoute($id);
|
|
|
|
//删除当前产品模版
|
...
|
...
|
|