Pārlūkot izejas kodu

feat: 开放新疆接口

vian 4 gadi atpakaļ
vecāks
revīzija
662ce20cea
2 mainītis faili ar 26 papildinājumiem un 1 dzēšanām
  1. 18 0
      config/config.js
  2. 8 1
      web/building_saas/standard_interface/config.js

+ 18 - 0
config/config.js

@@ -148,6 +148,24 @@ module.exports = {
     importPort: 3050,
     importPort: 3050,
     socketPort: 2200
     socketPort: 2200
   },
   },
+  sc_prod: {
+    title: "纵横公路云造价",
+    server: "112.74.42.187",
+    startPort: 3060,
+    dbname: 'smartcost',
+    port: "28066",
+    importPort: 3050,
+    socketPort: 2200,
+      options:{
+          user:'smartcost',
+          pass:'SmartCost3850888',
+          auth: {
+              "authdb": "admin"
+          },
+          connectTimeoutMS: 50000,
+          useMongoClient: true
+      }
+  },
   redis_local: {
   redis_local: {
     server: '127.0.0.1',
     server: '127.0.0.1',
     port: '6379',
     port: '6379',

+ 8 - 1
web/building_saas/standard_interface/config.js

@@ -17,7 +17,6 @@ const INTERFACE_CONFIG = (() => {
   return {
   return {
     '安徽@马鞍山': {
     '安徽@马鞍山': {
       scriptName: 'anhui_maanshan.js',
       scriptName: 'anhui_maanshan.js',
-      //feeRateStandard: '安徽估概预算-皖交建管函[2019]210号', 不需要导入费率了
       fileSuffix: {
       fileSuffix: {
         [BID_INVITATION]: '.MASGLZB',
         [BID_INVITATION]: '.MASGLZB',
         [BID_SUBMISSION]: '.MASGLTB',
         [BID_SUBMISSION]: '.MASGLTB',
@@ -87,6 +86,14 @@ const INTERFACE_CONFIG = (() => {
         [BID_SUBMISSION]: '.XML',
         [BID_SUBMISSION]: '.XML',
         [CONTROL]: '.XML',
         [CONTROL]: '.XML',
       },
       },
+    },
+    '新疆@新疆': {
+      scriptName: 'anhui_maanshan.js',
+      fileSuffix: {
+        [BID_INVITATION]: '.xjglzbx',
+        [BID_SUBMISSION]: '.xjgltbx',
+        [CONTROL]: '.xjglkzjx',
+      },
     }
     }
   };
   };
 })()
 })()