guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
68efd4768b
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 2 0
      app/controller/.dock.js
  2. 1 0
      app/model/dock.js

+ 2 - 0
app/controller/.dock.js

@@ -13,6 +13,7 @@ module.exports = {
       "apply",
       "apply",
       "province",
       "province",
       "file_path",
       "file_path",
+      "videointro",
       "place",
       "place",
       "user_id",
       "user_id",
       "adminuser",
       "adminuser",
@@ -44,6 +45,7 @@ module.exports = {
       "province",
       "province",
       "place",
       "place",
       "file_path",
       "file_path",
+      "videointro",
       "adminuser",
       "adminuser",
       "phone",
       "phone",
       "passwd",
       "passwd",

+ 1 - 0
app/model/dock.js

@@ -102,6 +102,7 @@ const Dock = {
   province: { type: String, required: false }, // 省
   province: { type: String, required: false }, // 省
   place: { type: String, required: false }, // 市
   place: { type: String, required: false }, // 市
   file_path: { type: String, required: false }, // 视频路径
   file_path: { type: String, required: false }, // 视频路径
+  videointro: { type: String, required: false, maxLength: 200 },//视频文件介绍
   adminuser: { type: String, required: false, maxLength: 200 }, // 用户姓名
   adminuser: { type: String, required: false, maxLength: 200 }, // 用户姓名
   phone: { type: String, required: false, maxLength: 200 }, // 电话
   phone: { type: String, required: false, maxLength: 200 }, // 电话
   vipuser: { type: [ vipuser ], default: [] }, // vip用户
   vipuser: { type: [ vipuser ], default: [] }, // vip用户