Commit 25c2addc authored by hangjun83's avatar hangjun83

openapi 1.1

parent 5a794d42
...@@ -45,7 +45,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos ...@@ -45,7 +45,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos
public function getRawProductsThroughtRawCode($rawCode) public function getRawProductsThroughtRawCode($rawCode)
{ {
return $this->getRawProducts([ return $this->getRawProducts([
'r_code' => $rawCode 'raw.r_code' => $rawCode
]); ]);
} }
...@@ -67,7 +67,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos ...@@ -67,7 +67,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos
public function getProductPackage($rawProductIds) public function getProductPackage($rawProductIds)
{ {
return $this->getRawProducts([ return $this->getRawProducts([
'r_id' => $rawProductIds 'raw.r_id' => $rawProductIds
]); ]);
} }
} }
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