...
|
...
|
@@ -188,6 +188,7 @@ class GoodsController extends AdminBaseController{ |
|
|
$id = $_POST['id'];
|
|
|
$data = Db::name('goods') -> delete($id);
|
|
|
Db::name('goods_label') -> where('goods_id',$id) -> delete();
|
|
|
Db::name('collect') -> where("goods_id = ".$id) -> delete();
|
|
|
if($data){
|
|
|
return true;
|
|
|
}else{
|
...
|
...
|
|