确认账单bug
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -85,7 +85,7 @@ class MusicianWithdrawService extends Service | ... | @@ -85,7 +85,7 @@ class MusicianWithdrawService extends Service |
85 | { | 85 | { |
86 | if (RedisClient::instance('bills')->set(CacheKeyTools::billsConfirm($this->request->serial_no), true, 'EX', 3, 'NX')) { | 86 | if (RedisClient::instance('bills')->set(CacheKeyTools::billsConfirm($this->request->serial_no), true, 'EX', 3, 'NX')) { |
87 | 87 | ||
88 | $app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>0, 'identifier'=>$this->identifier->identifier])->select(['id', 'subject_no', 'company_id', 'stakeholder_id', 'related_id'])->first(); | 88 | $app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'identifier'=>$this->identifier->identifier, 'type'=>1])->select(['id', 'subject_no', 'company_id', 'stakeholder_id', 'related_id'])->first(); |
89 | 89 | ||
90 | DB::beginTransaction(); | 90 | DB::beginTransaction(); |
91 | 91 | ... | ... |
... | @@ -44,7 +44,7 @@ Route::group([], function (){ | ... | @@ -44,7 +44,7 @@ Route::group([], function (){ |
44 | 44 | ||
45 | 45 | ||
46 | //账单状态修改 | 46 | //账单状态修改 |
47 | Route::post('withdraw/bill_confirm', 'MusicianWithdrawController@billConfirm'); | 47 | Route::any('withdraw/bill_confirm', 'MusicianWithdrawController@billConfirm'); |
48 | //账单状态修改 | 48 | //账单状态修改 |
49 | Route::any('withdraw/status', 'MusicianWithdrawController@withdraw'); | 49 | Route::any('withdraw/status', 'MusicianWithdrawController@withdraw'); |
50 | //钱包-账单收益 | 50 | //钱包-账单收益 | ... | ... |
-
Please register or sign in to post a comment