Commit 76c10682 76c106827de25d2a58871a8cd3251c6fec0a220b by lemon

*

1 parent 2f5c3d49
...@@ -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
......