Sfoglia il codice sorgente

绩效修改申请

guhongwei 3 anni fa
parent
commit
d91c2714b1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/model/updateapply.js

+ 1 - 1
app/model/updateapply.js

@@ -14,7 +14,7 @@ const updateapply = {
   record: { type: Array }, // 记录
   remark: { type: String },
 };
-const schema = new Schema(apply, { toJSON: { virtuals: true } });
+const schema = new Schema(updateapply, { toJSON: { virtuals: true } });
 schema.index({ id: 1 });
 schema.index({ user_id: 1 });
 schema.index({ 'meta.createdAt': 1 });