|
|
@@ -56,19 +56,8 @@ class Balance extends Controller
|
|
|
}
|
|
|
$data['total'] = $query->count();
|
|
|
$data['data'] = $query->orderByDesc('id')
|
|
|
- ->forPage($page,$limit)->with(['member'])
|
|
|
+ ->forPage($page, $limit)->with(['member'])
|
|
|
->get()->toArray();
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-// $search = request()->all();
|
|
|
-// $search['change_types'] = BalanceLogService::$RW;
|
|
|
-//
|
|
|
-//
|
|
|
-// $result = BalanceLogService::paginate($search);
|
|
|
-
|
|
|
-
|
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
|
|
|
} catch (Exception $e) {
|