Commit f9bd5654 authored by hangjun83's avatar hangjun83

百化产品接口更新

parent cce4210c
...@@ -51,7 +51,7 @@ class BhuaBrandsRepositoryEloquent extends BaseRepository implements BhuaBrandsR ...@@ -51,7 +51,7 @@ class BhuaBrandsRepositoryEloquent extends BaseRepository implements BhuaBrandsR
public function getBrandById($id) public function getBrandById($id)
{ {
$brand = $this->findWhere(['b_id' => $id]); $brand = $this->findWhere(['b_id' => $id]);
return $brand; return $brand->toArray();
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment