Преглед на файлове

Merge branch 'master' of http://git.cc-lotus.info/live/service-live

ruifeng_liu преди 3 години
родител
ревизия
50c37a3199
променени са 4 файла, в които са добавени 13 реда и са изтрити 10 реда
  1. 2 0
      app/controller/patent/.patentanalysis.js
  2. 2 2
      app/controller/patent/.patentapply.js
  3. 1 0
      app/model/patent/patentanalysis.js
  4. 8 8
      config/plugin.js

+ 2 - 0
app/controller/patent/.patentanalysis.js

@@ -15,6 +15,7 @@ module.exports = {
       "email",
       "questions",
       "status",
+      "file",
     ],
   },
   destroy: {
@@ -38,6 +39,7 @@ module.exports = {
       "email",
       "questions",
       "status",
+      "file",
     ],
   },
   show: {

+ 2 - 2
app/controller/patent/.patentapply.js

@@ -11,7 +11,7 @@ module.exports = {
       "name",
       "apply_name",
       "type",
-      "inventer",
+      "inventor",
       "contact",
       "phone",
       "email",
@@ -37,7 +37,7 @@ module.exports = {
       "name",
       "apply_name",
       "type",
-      "inventer",
+      "inventor",
       "contact",
       "phone",
       "email",

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

@@ -18,6 +18,7 @@ const patentanalysis = {
   phone: { type: String }, // 联系人电话
   email: { type: String }, // 联系人邮箱
   questions: { type: Object }, // 问题
+  file: { type: Array }, // 报告文件
   record: { type: Array }, // 记录
   status: { type: String, default: '0' }, // 状态
   remark: { type: String },

+ 8 - 8
config/plugin.js

@@ -1,12 +1,12 @@
 'use strict';
 
 /** @type Egg.EggPlugin */
-exports.amqp = {
-  enable: true,
-  package: 'egg-naf-amqp',
-};
-exports.redis = {
-  enable: true,
-  package: 'egg-redis',
-};
+// exports.amqp = {
+//   enable: true,
+//   package: 'egg-naf-amqp',
+// };
+// exports.redis = {
+//   enable: true,
+//   package: 'egg-redis',
+// };