作者 lyh

gx

... ... @@ -73,6 +73,6 @@ class DetailLogic extends BaseLogic
}catch (\Exception $e){
$this->fail('保存失败,请联系管理员.错误:'.$e->getMessage());
}
$this->success(['product_id'=>$this->param['product_id']]);
return $this->success(['product_id'=>$this->param['product_id']]);
}
}
... ...
... ... @@ -28,4 +28,8 @@ class News extends Base
public function getRelatedNewsIdAttribute($value){
return Arr::setToArr($value);
}
public function getRelatedProductIdAttribute($value){
return Arr::setToArr($value);
}
}
... ...