guhongwei 4 years ago
parent
commit
6ba6215034
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/model/imgtxtdock.js

+ 1 - 0
app/model/imgtxtdock.js

@@ -3,6 +3,7 @@ const Schema = require('mongoose').Schema;
 const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 
 const images = new Schema({
+  name: { type: String, required: true, maxLength: 500 }, // 图片名称
   url: { type: String, required: true, maxLength: 500 }, // 图片路径
 });
 // 展会信息表