seven 1 周之前
父节点
当前提交
5f54b4a95e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Services/KeyboardService.php

+ 3 - 0
app/Services/KeyboardService.php

@@ -52,6 +52,9 @@ class KeyboardService extends BaseService
         if (isset($search['button']) && !empty($search['button'])) {
         if (isset($search['button']) && !empty($search['button'])) {
             $where[] = ['button', '=', $search['button']];
             $where[] = ['button', '=', $search['button']];
         }
         }
+        if (isset($search['explain']) && !empty($search['explain'])) {
+            $where[] = ['explain', '=', $search['explain']];
+        }
        
        
         return $where;
         return $where;
     }
     }