Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
76c10682
...
76c106827de25d2a58871a8cd3251c6fec0a220b
authored
2021-11-18 17:13:05 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
2f5c3d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
app/Services/MusicianWithdrawService.php
app/Services/MusicianWithdrawService.php
View file @
76c1068
...
...
@@ -29,7 +29,8 @@ class MusicianWithdrawService extends Service
*/
public
function
receiptInfoByName
()
{
if
(
$receipt
=
Company
::
query
()
->
where
([
'receipt_name'
=>
$this
->
request
->
input
(
'name'
)])
->
first
())
{
if
(
$receipt
=
Company
::
query
()
->
where
([
'receipt_name'
=>
$this
->
request
->
name
])
->
first
())
{
return
Response
::
success
([
'receipt_type'
=>
$receipt
->
receipt_type
,
'receipt_name'
=>
$receipt
->
receipt_name
,
...
...
@@ -43,7 +44,7 @@ class MusicianWithdrawService extends Service
'post_phone'
=>
$receipt
->
post_phone
,
//邮寄电话
]);
}
else
{
return
Response
::
error
();
return
Response
::
success
();
}
}
...
...
Please
register
or
sign in
to post a comment