*
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -29,7 +29,8 @@ class MusicianWithdrawService extends Service | ... | @@ -29,7 +29,8 @@ class MusicianWithdrawService extends Service |
29 | */ | 29 | */ |
30 | public function receiptInfoByName() | 30 | public function receiptInfoByName() |
31 | { | 31 | { |
32 | if ($receipt = Company::query()->where(['receipt_name'=>$this->request->input('name')])->first()) { | 32 | if ($receipt = Company::query()->where(['receipt_name'=>$this->request->name])->first()) { |
33 | |||
33 | return Response::success([ | 34 | return Response::success([ |
34 | 'receipt_type' => $receipt->receipt_type, | 35 | 'receipt_type' => $receipt->receipt_type, |
35 | 'receipt_name' => $receipt->receipt_name, | 36 | 'receipt_name' => $receipt->receipt_name, |
... | @@ -43,7 +44,7 @@ class MusicianWithdrawService extends Service | ... | @@ -43,7 +44,7 @@ class MusicianWithdrawService extends Service |
43 | 'post_phone' => $receipt->post_phone, //邮寄电话 | 44 | 'post_phone' => $receipt->post_phone, //邮寄电话 |
44 | ]); | 45 | ]); |
45 | } else { | 46 | } else { |
46 | return Response::error(); | 47 | return Response::success(); |
47 | } | 48 | } |
48 | } | 49 | } |
49 | 50 | ... | ... |
-
Please register or sign in to post a comment