Parcourir la source

Merge branch '0328_footcat_fr'

15313670163 il y a 1 semaine
Parent
commit
c51afd8ae3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/JsonRpc/FooterService.php

+ 1 - 1
app/JsonRpc/FooterService.php

@@ -284,7 +284,7 @@ class FooterService implements FooterServiceInterface
             if(!isset($data['list_title']) || empty($data['list_title'])){
                 return Result::error("请输入底部导航列表标题!");
             }
-            $list_title = FooterContent::where('fcat_id', $content['fcat_id'])->where('id'!=$data['id'])->where('list_title',$data['list_title'])->first();
+            $list_title = FooterContent::where('id','!=',$data['id'])->where('fcat_id', $content['fcat_id'])->where('list_title',$data['list_title'])->first();
             if(!empty($list_title)){
                 return Result::error("该列表标题已存在!");
             }