Commit 16d32442 16d32442880937b25cc9c44c869c9b8b7369f598 by lemon

*

1 parent 006f816c
......@@ -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();
......
......@@ -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));
});
});
......
......@@ -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');
});
......