作者 lyh

ggx

@@ -127,10 +127,10 @@ class ProductLogic extends BaseLogic @@ -127,10 +127,10 @@ class ProductLogic extends BaseLogic
127 // DB::beginTransaction(); 127 // DB::beginTransaction();
128 // try { 128 // try {
129 foreach ($this->param['ids'] as $k => $id) { 129 foreach ($this->param['ids'] as $k => $id) {
130 - $info = $this->model->read(['id'=>$id]);  
131 - if($info['status'] == Product::STATUS_RECYCLE){  
132 var_dump($id); 130 var_dump($id);
133 die(); 131 die();
  132 + $info = $this->model->read(['id'=>$id]);
  133 + if($info['status'] == Product::STATUS_RECYCLE){
134 $this->delRoute($id); 134 $this->delRoute($id);
135 //删除当前产品模版 135 //删除当前产品模版
136 $this->delProductModule($id); 136 $this->delProductModule($id);