|
|
@@ -54,10 +54,10 @@ class Synthesis extends Api
|
|
|
$synthesis->material_one = $productOrder->getByOrderProductNum($material_one, $synthesis->material_one_num, $this->auth->id);
|
|
|
//条件二
|
|
|
$material_two = $productLists->getBySynthesisProduct($synthesis->material_two, $lan);
|
|
|
- $synthesis->material_two = $productOrder->getByOrderProductNum($material_two, $synthesis->material_one_num, $this->auth->id);
|
|
|
+ $synthesis->material_two = $productOrder->getByOrderProductNum($material_two, $synthesis->material_two_num, $this->auth->id);
|
|
|
//条件三
|
|
|
$material_three = $productLists->getBySynthesisProduct($synthesis->material_three, $lan);
|
|
|
- $synthesis->material_three = $productOrder->getByOrderProductNum($material_three, $synthesis->material_one_num, $this->auth->id);
|
|
|
+ $synthesis->material_three = $productOrder->getByOrderProductNum($material_three, $synthesis->material_three_num, $this->auth->id);
|
|
|
}
|
|
|
$this->success('', $synthesis);
|
|
|
}
|