15954078560 %!s(int64=3) %!d(string=hai) anos
pai
achega
1292e8ba27
Modificáronse 1 ficheiros con 1 adicións e 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 = [];