|
|
@@ -28,6 +28,8 @@ class CashController extends BaseController
|
|
|
$where['status'] = $status;
|
|
|
}
|
|
|
$respond = CashClass::getCashList($where);
|
|
|
+ $amount = CashClass::sum(['status' => 2], 'beAmount');
|
|
|
+ $respond['totalAmount'] = $amount;
|
|
|
util::success($respond);
|
|
|
}
|
|
|
|