moonsflyer 7 hónapja
szülő
commit
ca88b4be31
1 módosított fájl, 2 hozzáadás és 0 törlés
  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'],
                 'order_id'=>0,
             ]);
+            Db::commit();
+            return ['code'=>1,'data'=>$result];
             if($result){
 
                 $data = [