调整数据格式
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -19,9 +19,11 @@ class MusicianWithdrawService extends Service | ... | @@ -19,9 +19,11 @@ class MusicianWithdrawService extends Service |
| 19 | */ | 19 | */ |
| 20 | public function receiptInfoByName() | 20 | public function receiptInfoByName() |
| 21 | { | 21 | { |
| 22 | /* | ||
| 22 | if (!StakeholderIncomeByPayer::query()->where(['sync_status'=>1, 'withdraw_status'=>0, 'identifier'=>$this->identifier->identifier])->count()) { | 23 | if (!StakeholderIncomeByPayer::query()->where(['sync_status'=>1, 'withdraw_status'=>0, 'identifier'=>$this->identifier->identifier])->count()) { |
| 23 | return Response::error(ErrorCode::WITHDRAW_NO_RECORD); | 24 | return Response::error(ErrorCode::WITHDRAW_NO_RECORD); |
| 24 | } | 25 | } |
| 26 | */ | ||
| 25 | 27 | ||
| 26 | if ($receipt = Company::query()->where(['receipt_name'=>$this->request->input('name')])->first()) { | 28 | if ($receipt = Company::query()->where(['receipt_name'=>$this->request->input('name')])->first()) { |
| 27 | return Response::success([ | 29 | return Response::success([ | ... | ... |
-
Please register or sign in to post a comment