zs 1 年之前
父節點
當前提交
c87a5c4011
共有 3 個文件被更改,包括 0 次插入71 次删除
  1. 0 21
      src/config/config.default.ts
  2. 0 19
      src/config/config.local.ts
  3. 0 31
      src/config/config.prod.ts

+ 0 - 21
src/config/config.default.ts

@@ -15,31 +15,10 @@ export default {
   },
   redis_timeout: 300, //s
   emailConfig: project,
-  axios: {
-    clients: {
-      Axios: {
-        baseURL: 'https://www.ccwit.net',
-        //表明返回服务器返回的数据类型
-        responseType: 'arraybuffer',
-        headers: {
-          'Content-Type': 'application/json; application/octet-stream',
-        },
-      },
-    },
-  },
   export: {
     root_path: 'D:\\temp',
     file_type: 'friendSchool',
   },
-  wechatSetting: {
-    // 吉林大学汽车工程学院校友会
-    friendShoolApp: {
-      appid: 'wxef5b87d5fef241b4',
-      secret: 'd315753502e0cbc24de5a230bed5c87a',
-      mchid: '1505364491',
-      v3key: '1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik9',
-    },
-  },
   upload: {
     // mode: UploadMode, 默认为file,即上传到服务器临时目录,可以配置为 stream
     mode: 'file',

+ 0 - 19
src/config/config.local.ts

@@ -25,16 +25,6 @@ export default {
       },
     },
   },
-  bull: {
-    // defaultQueueOptions: {
-    //   redis: {
-    //     port: 6379,
-    //     host: '114.215.24.90',
-    //     password: '123456',
-    //   },
-    //   prefix: '{midway-bull}',
-    // },
-  },
   axios: {
     clients: {
       file: {
@@ -51,13 +41,4 @@ export default {
     root_path: 'D:\\temp',
     file_type: 'friendSchool',
   },
-  wechatSetting: {
-    // 吉林大学汽车工程学院校友会
-    friendShoolApp: {
-      appid: 'wxef5b87d5fef241b4',
-      secret: 'd315753502e0cbc24de5a230bed5c87a',
-      mchid: '1505364491',
-      v3key: '1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik9',
-    },
-  },
 } as MidwayConfig;

+ 0 - 31
src/config/config.prod.ts

@@ -25,39 +25,8 @@ export default {
       },
     },
   },
-  bull: {
-    defaultQueueOptions: {
-      // redis: {
-      //   port: 6379,
-      //   host: '114.215.24.90',
-      //   password: '123456',
-      // },
-      // prefix: '{midway-bull}',
-    },
-  },
-  axios: {
-    clients: {
-      file: {
-        baseURL: 'https://www.ccwit.net',
-        //表明返回服务器返回的数据类型
-        responseType: 'arraybuffer',
-        headers: {
-          'Content-Type': 'application/json; application/octet-stream',
-        },
-      },
-    },
-  },
   export: {
     root_path: 'D:\\free\\workspace\\server\\service-file\\upload',
     file_type: 'friendSchool',
   },
-  wechatSetting: {
-    // 吉林大学汽车工程学院校友会
-    friendShoolApp: {
-      appid: 'wxef5b87d5fef241b4',
-      secret: 'd315753502e0cbc24de5a230bed5c87a',
-      mchid: '1505364491',
-      v3key: '1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik9',
-    },
-  },
 } as MidwayConfig;