Commit 10675152 authored by zw's avatar zw

bug

parent 029e58a5
...@@ -123,7 +123,7 @@ class OrderLogService ...@@ -123,7 +123,7 @@ class OrderLogService
if (!empty($bargain_arr)) { if (!empty($bargain_arr)) {
return $this->bargainModel->addBargain($bargain_arr); return $this->bargainModel->addBargain($bargain_arr);
} }
return 0; return $father_id;
} }
private function bargainBin($father_id,$commission_val, $submit_agent_id, $report_id, $order_id, $order_no, $trade_type, $price, $commission) private function bargainBin($father_id,$commission_val, $submit_agent_id, $report_id, $order_id, $order_no, $trade_type, $price, $commission)
......
...@@ -302,7 +302,7 @@ Route::group('broker', [ ...@@ -302,7 +302,7 @@ Route::group('broker', [
'dayStatement' => ['api_broker/Statement/dayStatement', [ 'method' => 'get|post' ] ], 'dayStatement' => ['api_broker/Statement/dayStatement', [ 'method' => 'get|post' ] ],
'searchAgents' => ['api_broker/OrderLog/searchAgents', [ 'method' => 'get|post' ] ], 'searchAgents' => ['api_broker/OrderLog/searchAgents', [ 'method' => 'get' ] ],
'center' => ['api_broker/MyCenter/center', [ 'method' => 'get|post' ] ], 'center' => ['api_broker/MyCenter/center', [ 'method' => 'get|post' ] ],
......
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