Ken 1 周之前
父節點
當前提交
c60d76aa92
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/Services/PaymentOrderService.php

+ 1 - 2
app/Services/PaymentOrderService.php

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