|
@@ -188,7 +188,16 @@ class Goods extends Backend
|
|
|
$this->assign('row',$goods);
|
|
|
return $this->fetch();
|
|
|
}else{
|
|
|
+ $e=input('e');
|
|
|
+ $skuId=input('sku_id');
|
|
|
+ $goodsId=input('goods_id');
|
|
|
+ if($e=='get'){
|
|
|
+ $goods=$this->model->find($goodsId);
|
|
|
+ $bindId=$goods->binds()->column('bind_goods_id');
|
|
|
+ $this->success('',$bindId);
|
|
|
+ }
|
|
|
|
|
|
+ $this->success();
|
|
|
}
|
|
|
}
|
|
|
}
|