|
@@ -28,7 +28,6 @@ class Balance extends Controller
|
|
|
$page = request()->input('page', 1);
|
|
$page = request()->input('page', 1);
|
|
|
$limit = request()->input('limit', 10);
|
|
$limit = request()->input('limit', 10);
|
|
|
$query = BalanceLog::where(BalanceLogService::getWhere($params));
|
|
$query = BalanceLog::where(BalanceLogService::getWhere($params));
|
|
|
- $sql = $query->toSql();
|
|
|
|
|
$data['total'] = $query->count();
|
|
$data['total'] = $query->count();
|
|
|
$totalAmount = '--';
|
|
$totalAmount = '--';
|
|
|
//如果指定用户和类型,则统计变动金额
|
|
//如果指定用户和类型,则统计变动金额
|
|
@@ -43,8 +42,6 @@ class Balance extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
|
$data['change_types'] = BalanceLogService::$RW;
|
|
$data['change_types'] = BalanceLogService::$RW;
|
|
|
- $data['sql'] = $sql;
|
|
|
|
|
-
|
|
|
|
|
} catch (ValidationException $e) {
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
|
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|