wq 4 年之前
父节点
当前提交
ec56bb04d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/searchauto.js

+ 1 - 1
app/service/searchauto.js

@@ -105,7 +105,7 @@ class SearchautoService extends CrudService {
       _sort.mongey_min_rate = 1;
     }
     const total = await this.tmodel.count(match);
-    const res = await this.tmodel.find(match).sort(_sort).limit(Number(limit))
+    const res = await this.tmodel.find(match,{video:0}).sort(_sort).limit(Number(limit))
       .skip(Number(skip));
     const result = [];
     for (const elm of res) {