Jonlin 6 gadi atpakaļ
vecāks
revīzija
6efcef0656

+ 1 - 1
app/Http/Controllers/Admin/SoccerNoteListController.php

@@ -151,7 +151,7 @@ class SoccerNoteListController extends Controller
         $model->status = '1';
         try {
             DB::beginTransaction();//开启事务
-            \App\Models\SportsNoteList::where('id',$id)->update(['status'=>'2'],['gain_money'=>'0']);
+            \App\Models\SportsNoteList::where('id',$id)->update(['status'=>'2','gain_money'=>'0']);
             \App\Models\Account_detailed::where('account_identity',$order->account_identity)->update(['available_cash'=>$new_available_cash,'cash'=>$new_available_cash]);
             $model->save();