Commit 3c5a0849 3c5a0849666cd6d052292cb60c2cf21920785cfe by lemon

*

1 parent befef37d
......@@ -76,6 +76,7 @@ class StakeholderIncomeSyncCommand extends Command
$channel = 'TME';
$http_data = [
'busiId'=>$income_item['serial_no'],
'cardNo'=>$income_item['identifier'],
'faxMoney'=>$income_item['fax_money'],
'money'=>$income_item['money'],
......
......@@ -21,7 +21,7 @@ class MusicianWithdrawService extends Service
*/
public function walletDetail()
{
$income_by_payer = StakeholderIncomeByPayer::query()->where(['busi_id'=>$this->request->input('busi_id'), 'sync_status'=>1])->first();
$income_by_payer = StakeholderIncomeByPayer::query()->where(['serial_no'=>$this->request->input('busi_id'), '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([
......@@ -103,7 +103,7 @@ class MusicianWithdrawService extends Service
$withdraw_status = '';
$query = StakeholderIncomeByPayer::query()->where(['sync_status'=>1, 'identifier'=>$this->identifier->identifier])
->whereIn('busi_id', $this->request->input('busi_id'));
->whereIn('serial_no', $this->request->input('busi_id'));
switch ($this->request->input('type')) {
case 'confirm': //已确认
......