moonsflyer 7 月之前
父节点
当前提交
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'],
                 'order_id'=>0,
             ]);
+            Db::commit();
+            return ['code'=>1,'data'=>$result];
             if($result){
 
                 $data = [