Ken 1 week ago
parent
commit
c60d76aa92
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/Services/PaymentOrderService.php

+ 1 - 2
app/Services/PaymentOrderService.php

@@ -361,8 +361,7 @@ class PaymentOrderService extends BaseService
         $data = [];
         $result = [];
         $chat_id = $info->member_id;
-        DB::transaction();
-        
+        DB::beginTransaction();
         try{
             if($params['state'] == 1){
                 $data['status'] = self::STATUS_SUCCESS;