moonsflyer 7 месяцев назад
Родитель
Сommit
ca88b4be31
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app/api/logic/ServiceLogic.php

+ 2 - 0
app/api/logic/ServiceLogic.php

@@ -87,6 +87,8 @@ class ServiceLogic extends BaseLogic
                 'content'=>$params['content'],
                 'content'=>$params['content'],
                 'order_id'=>0,
                 'order_id'=>0,
             ]);
             ]);
+            Db::commit();
+            return ['code'=>1,'data'=>$result];
             if($result){
             if($result){
 
 
                 $data = [
                 $data = [