Commit 2105d9fb authored by hangjun83's avatar hangjun83

百化产品接口更新

parent 5c91562b
...@@ -50,7 +50,7 @@ class BhuaBrandsRepositoryEloquent extends BaseRepository implements BhuaBrandsR ...@@ -50,7 +50,7 @@ class BhuaBrandsRepositoryEloquent extends BaseRepository implements BhuaBrandsR
public function getBrandById($id) public function getBrandById($id)
{ {
$brand = $this->findWhere(['id' => $id]); $brand = $this->findWhere(['b_id' => $id]);
return $brand; return $brand;
} }
......
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