guhongwei 3 years ago
parent
commit
f685b6a149
2 changed files with 10 additions and 10 deletions
  1. 2 2
      app/controller/patent/.patentapply.js
  2. 8 8
      config/plugin.js

+ 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",

+ 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',
+// };