|
|
@@ -174,7 +174,7 @@ class SoccerStringNoteListController extends Controller
|
|
|
$model->status = '1';
|
|
|
try {
|
|
|
DB::beginTransaction();//开启事务
|
|
|
- \App\Models\MoneyBuyStr::where('id',$id)->update(['status'=>'2'],['gain_money'=>'0.00']);
|
|
|
+ \App\Models\MoneyBuyStr::where('id',$id)->update(['status'=>'2','gain_money'=>'0.00']);
|
|
|
\App\Models\Account_detailed::where('account_identity',$order->account_identity)->update(['available_cash'=>$new_available_cash,'cash'=>$new_available_cash]);
|
|
|
$model->save();
|
|
|
DB::commit();//提交
|