Explorar el Código

Merge branch '20241213_fr_diyweb' into dev

15313670163 hace 1 mes
padre
commit
a120c9a34c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/JsonRpc/FooterService.php

+ 1 - 0
app/JsonRpc/FooterService.php

@@ -133,6 +133,7 @@ class FooterService implements FooterServiceInterface
         try{
             $footer_category = FooterCategory::where('id', $data['id'])->first();
             if (!$footer_category) {
+                Db::rollBack();
                 return Result::error("该底部导航不存在!");
             }else{
                 $result['footer_category'] = FooterCategory::where('id', $data['id'])->delete();