|
|
@@ -56,9 +56,13 @@ class BalanceLogsController extends Backend
|
|
|
*/
|
|
|
public function payment()
|
|
|
{
|
|
|
- $id = request()->input('id');
|
|
|
- $service = new BalanceLogsService();
|
|
|
- return $service->payment($this->userId, $id);
|
|
|
+ try {
|
|
|
+ $id = request()->input('id');
|
|
|
+ $service = new BalanceLogsService();
|
|
|
+ return $service->payment($this->userId, $id);
|
|
|
+ } catch (\Exception $exception){
|
|
|
+ return message('服务器错误',false,['error'=>$exception->getMessage(),'trace'=>$exception->getTrace()])
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|