Jonlin %!s(int64=6) %!d(string=hai) anos
pai
achega
6efcef0656
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Admin/SoccerNoteListController.php

+ 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();