Commit 6c3bef01 6c3bef01d8d44eb78308bfd08f804ceac7d83a3b by lemon

账单搜狐一详情

1 parent 10a9c43e
......@@ -24,7 +24,7 @@ class MusicianWalletDetailRequest extends FormRequest
public function rules()
{
return [
'busi_id' => ['required', 'bail', 'string'],
'serial_no' => ['required', 'bail', 'string'],
];
}
......@@ -34,7 +34,7 @@ class MusicianWalletDetailRequest extends FormRequest
public function messages(): array
{
return [
'busi_id.required' => '请提供业务流水号',
'serial_no.required' => '请提供业务流水号',
];
}
}
......
......@@ -29,7 +29,7 @@ class MusicianWithdrawService extends Service
*/
public function walletDetail()
{
$income_by_payer = StakeholderIncomeSyncAppDetails::query()->where(['serial_no'=>$this->request->input('busi_id'), 'sync_status'=>1])->first();
$income_by_payer = StakeholderIncomeSyncAppDetails::query()->where(['serial_no'=>$this->request->input('serial_no'), 'sync_status'=>1])->first();
if (empty($income_by_payer)) return Response::error(ErrorCode::ORDER_NO_FOUND);
$collate = StakeholderSongCollate::query()->with('song:id,name,singer')->where([
......
......@@ -37,7 +37,6 @@ Route::group([], function (){
//提现发票抬头 - 通过公司中文
Route::post('withdraw/receipt_by_name', 'MusicianWithdrawController@receiptByName');
//账单状态修改
Route::post('withdraw/bill_confirm', 'MusicianWithdrawController@billConfirm');
//账单状态修改
......