*
Showing
3 changed files
with
6 additions
and
2 deletions
... | @@ -41,7 +41,6 @@ class MusicianAgreementService extends Service | ... | @@ -41,7 +41,6 @@ class MusicianAgreementService extends Service |
41 | */ | 41 | */ |
42 | public function agreementList() | 42 | public function agreementList() |
43 | { | 43 | { |
44 | //经纪合约 | ||
45 | $treaty = Treaty::query()->whereIn('party_b', $this->stakeholder_ids)->with(['file:id,treaty_id,file_id', 'file.fileInfo:id,location']) | 44 | $treaty = Treaty::query()->whereIn('party_b', $this->stakeholder_ids)->with(['file:id,treaty_id,file_id', 'file.fileInfo:id,location']) |
46 | ->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(); | 45 | ->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(); |
47 | 46 | ... | ... |
... | @@ -15,4 +15,9 @@ use Illuminate\Support\Facades\Route; | ... | @@ -15,4 +15,9 @@ use Illuminate\Support\Facades\Route; |
15 | Route::group([], function (){ | 15 | Route::group([], function (){ |
16 | //提现审核通过 | 16 | //提现审核通过 |
17 | Route::post('musician/withdraw', 'MusicianWithdrawController@withdraw'); | 17 | Route::post('musician/withdraw', 'MusicianWithdrawController@withdraw'); |
18 | |||
19 | Route::get('no', function (){ | ||
20 | $no = json_encode(['type'=>1, 'identifier'=>'341281199711060202']); | ||
21 | var_dump(\App\Helper\AesEncrypt::encrypt($no)); | ||
22 | }); | ||
18 | }); | 23 | }); | ... | ... |
... | @@ -35,6 +35,6 @@ Route::group([], function (){ | ... | @@ -35,6 +35,6 @@ Route::group([], function (){ |
35 | //钱包-账户详情 | 35 | //钱包-账户详情 |
36 | Route::get('musician_balance/account_detail', 'MusicianBalanceController@accountDetail'); | 36 | Route::get('musician_balance/account_detail', 'MusicianBalanceController@accountDetail'); |
37 | //提现请求 | 37 | //提现请求 |
38 | Route::post('musician/withdraw_prepare', 'App\Controller\Musician\MusicianWithdrawController@prepare'); | 38 | Route::post('musician/withdraw_prepare', 'MusicianWithdrawController@prepare'); |
39 | 39 | ||
40 | }); | 40 | }); | ... | ... |
-
Please register or sign in to post a comment