guhongwei 3 년 전
부모
커밋
2c1237a6f0
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/controller/patent/.patentinfo.js
  2. 1 0
      app/model/patent/patentinfo.js

+ 1 - 0
app/controller/patent/.patentinfo.js

@@ -100,6 +100,7 @@ module.exports = {
         status: "status",
         trans_status: "trans_status",
         user_id: "user_id",
+        lose_date: "lose_date",
       },
     },
     service: "query",

+ 1 - 0
app/model/patent/patentinfo.js

@@ -49,6 +49,7 @@ schema.index({ term: 1 });
 schema.index({ type: 1 });
 schema.index({ status: 1 });
 schema.index({ trans_status: 1 });
+schema.index({ lose_date: 1 });
 schema.index({ 'meta.createdAt': 1 });
 schema.plugin(metaPlugin);
 module.exports = app => {