Commit 3c5a0849 3c5a0849666cd6d052292cb60c2cf21920785cfe by lemon

*

1 parent befef37d
...@@ -76,6 +76,7 @@ class StakeholderIncomeSyncCommand extends Command ...@@ -76,6 +76,7 @@ class StakeholderIncomeSyncCommand extends Command
76 $channel = 'TME'; 76 $channel = 'TME';
77 77
78 $http_data = [ 78 $http_data = [
79 'busiId'=>$income_item['serial_no'],
79 'cardNo'=>$income_item['identifier'], 80 'cardNo'=>$income_item['identifier'],
80 'faxMoney'=>$income_item['fax_money'], 81 'faxMoney'=>$income_item['fax_money'],
81 'money'=>$income_item['money'], 82 'money'=>$income_item['money'],
......
...@@ -21,7 +21,7 @@ class MusicianWithdrawService extends Service ...@@ -21,7 +21,7 @@ class MusicianWithdrawService extends Service
21 */ 21 */
22 public function walletDetail() 22 public function walletDetail()
23 { 23 {
24 $income_by_payer = StakeholderIncomeByPayer::query()->where(['busi_id'=>$this->request->input('busi_id'), 'sync_status'=>1])->first(); 24 $income_by_payer = StakeholderIncomeByPayer::query()->where(['serial_no'=>$this->request->input('busi_id'), 'sync_status'=>1])->first();
25 if (empty($income_by_payer)) return Response::error(ErrorCode::ORDER_NO_FOUND); 25 if (empty($income_by_payer)) return Response::error(ErrorCode::ORDER_NO_FOUND);
26 26
27 $collate = StakeholderSongCollate::query()->with('song:id,name,singer')->where([ 27 $collate = StakeholderSongCollate::query()->with('song:id,name,singer')->where([
...@@ -103,7 +103,7 @@ class MusicianWithdrawService extends Service ...@@ -103,7 +103,7 @@ class MusicianWithdrawService extends Service
103 $withdraw_status = ''; 103 $withdraw_status = '';
104 104
105 $query = StakeholderIncomeByPayer::query()->where(['sync_status'=>1, 'identifier'=>$this->identifier->identifier]) 105 $query = StakeholderIncomeByPayer::query()->where(['sync_status'=>1, 'identifier'=>$this->identifier->identifier])
106 ->whereIn('busi_id', $this->request->input('busi_id')); 106 ->whereIn('serial_no', $this->request->input('busi_id'));
107 107
108 switch ($this->request->input('type')) { 108 switch ($this->request->input('type')) {
109 case 'confirm': //已确认 109 case 'confirm': //已确认
......