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
16d32442
...
16d32442880937b25cc9c44c869c9b8b7369f598
authored
2021-06-30 16:59:52 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
006f816c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
app/Services/MusicianAgreementService.php
routes/admin.php
routes/api.php
app/Services/MusicianAgreementService.php
View file @
16d3244
...
...
@@ -41,7 +41,6 @@ class MusicianAgreementService extends Service
*/
public
function
agreementList
()
{
//经纪合约
$treaty
=
Treaty
::
query
()
->
whereIn
(
'party_b'
,
$this
->
stakeholder_ids
)
->
with
([
'file:id,treaty_id,file_id'
,
'file.fileInfo:id,location'
])
->
select
([
'id'
,
'treaty_no as no'
,
'treaty_type'
,
'treaty_name as name'
,
'effective_date'
,
'deadline_date as date_ending'
,
'cost_model'
,
'music_no'
,
's_rate'
,
'l_rate'
,
'c_rate'
,
'p_rate'
,
'cost'
,
'prepaid'
])
->
get
();
...
...
routes/admin.php
View file @
16d3244
...
...
@@ -15,4 +15,9 @@ use Illuminate\Support\Facades\Route;
Route
::
group
([],
function
(){
//提现审核通过
Route
::
post
(
'musician/withdraw'
,
'MusicianWithdrawController@withdraw'
);
Route
::
get
(
'no'
,
function
(){
$no
=
json_encode
([
'type'
=>
1
,
'identifier'
=>
'341281199711060202'
]);
var_dump
(
\App\Helper\AesEncrypt
::
encrypt
(
$no
));
});
});
...
...
routes/api.php
View file @
16d3244
...
...
@@ -35,6 +35,6 @@ Route::group([], function (){
//钱包-账户详情
Route
::
get
(
'musician_balance/account_detail'
,
'MusicianBalanceController@accountDetail'
);
//提现请求
Route
::
post
(
'musician/withdraw_prepare'
,
'
App\Controller\Musician\
MusicianWithdrawController@prepare'
);
Route
::
post
(
'musician/withdraw_prepare'
,
'MusicianWithdrawController@prepare'
);
});
...
...
Please
register
or
sign in
to post a comment