|
@@ -136,10 +136,9 @@ class PlatformIncomeDetail extends BaseController
|
|
136
|
->where('deal_type', 1)
|
136
|
->where('deal_type', 1)
|
|
137
|
->where('pm', 1)
|
137
|
->where('pm', 1)
|
|
138
|
->sum('income_detail.fg');
|
138
|
->sum('income_detail.fg');
|
|
139
|
- $order_in_money += (double)bcadd($order_in_vr, $order_in_fg, 2);
|
|
|
|
140
|
- $platform_enter_all = $yongjin_out_all+$order_in_money;
|
|
|
|
|
|
139
|
+ $platform_enter_all = $yongjin_out_all+$order_in_money+$order_in_vr+$order_in_fg;
|
|
141
|
|
140
|
|
|
142
|
- $return_data = compact( 'platform_enter_all', 'yongjin_out_all', 'list', 'count', 'order_in_money');
|
|
|
|
|
|
141
|
+ $return_data = compact( 'platform_enter_all', 'yongjin_out_all', 'list', 'count', 'order_in_money', 'order_in_vr', 'order_in_fg');
|
|
143
|
return app('json')->success($return_data);
|
142
|
return app('json')->success($return_data);
|
|
144
|
} catch (\Exception $e) {
|
143
|
} catch (\Exception $e) {
|
|
145
|
Db::name('log')->insert(['data' => '获取平台收支明细错误:' . $e->getFile() . ':' . $e->getLine() . '【' . $e->getMessage() . '】']);
|
144
|
Db::name('log')->insert(['data' => '获取平台收支明细错误:' . $e->getFile() . ':' . $e->getLine() . '【' . $e->getMessage() . '】']);
|