Commit b99073a8 b99073a845d7452f6affa97dc27383d87d893b83 by lemon

*

1 parent fc3bcf49
...@@ -36,7 +36,7 @@ class MusicianWithdrawService extends Service ...@@ -36,7 +36,7 @@ class MusicianWithdrawService extends Service
36 return $receipt; 36 return $receipt;
37 }); 37 });
38 38
39 return Response::success($receipt); 39 return Response::success(array_values($receipt));
40 } 40 }
41 41
42 /** 42 /**
...@@ -59,7 +59,7 @@ class MusicianWithdrawService extends Service ...@@ -59,7 +59,7 @@ class MusicianWithdrawService extends Service
59 break; 59 break;
60 } 60 }
61 61
62 if (StakeholderIncomeByPayer::query()->whereIn('serial_no', $this->request->input('serial_no'))->update([ 62 if (StakeholderIncomeByPayer::query()->where('sync_status', 1)->whereIn('serial_no', $this->request->input('serial_no'))->update([
63 'withdraw_status'=>$withdraw_status, 63 'withdraw_status'=>$withdraw_status,
64 ])) { 64 ])) {
65 return Response::success(); 65 return Response::success();
...@@ -68,6 +68,4 @@ class MusicianWithdrawService extends Service ...@@ -68,6 +68,4 @@ class MusicianWithdrawService extends Service
68 } 68 }
69 } 69 }
70 70
71
72
73 } 71 }
......