15954078560 hace 3 años
padre
commit
1292e8ba27
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/api/controller/Eyemargin.php

+ 1 - 1
application/api/controller/Eyemargin.php

@@ -115,7 +115,7 @@ class Eyemargin extends Common
      * @return false|mixed|\PDOStatement|string|\think\Collection
      */
     private function getFateInfo($redis_ids,$field,$user_id,&$common_where) {
-        $redis_ids && $common_where['a.id'] = ['notin',implode(',',$redis_ids)];
+        $redis_ids && $common_where['a.id'] = ['not in',implode(',',$redis_ids)];
 
         // 按照距离排序
         $where = [];