|
|
@@ -71,6 +71,12 @@ class Withdraw extends Controller
|
|
|
->with(['member'])
|
|
|
->orderBy('created_at', 'desc')
|
|
|
->forpage($page, $limit)->get();
|
|
|
+ foreach ($list as &$item){
|
|
|
+ $item['exchange_rate'] = floatval($item['service_charge']);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$result = ['total' => $count, 'data' => $list];
|
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
|