ソースを参照

TASK #4169 (公路云)新增浙江宁波慈溪接口。

Tony Kang 3 年 前
コミット
586e908eab

+ 1 - 1
modules/pm/controllers/pm_controller.js

@@ -335,7 +335,7 @@ module.exports = {
         if (sessionCompilation === undefined || sessionCompilation === null) {
             return response.redirect('/logout');
         }
-        const isFree = userModelObj.isFreeFromSession(request.session.compilationVersion);
+        const isFree = userModelObj.isFreeFromSession(request.session.compilationVersion) && !(request.session.sessionUser.mobile === '13823093010'); // 给我自己留的,方便测试用
         // const title = getTitle(request.headers.host);
         if (isFree && config[process.env.NODE_ENV].title !== '纵横公路云造价') {
             let renderData = {

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

@@ -151,5 +151,13 @@ const INTERFACE_CONFIG = (() => {
         [CONTROL]: '.zjglzbkzj',
       },
     },
+    '浙江@宁波慈溪': {
+      scriptName: 'zhejiang_xiangshan.js',
+      fileSuffix: {
+        [BID_INVITATION]: '.zjglzb',
+        [BID_SUBMISSION]: '.zjgltb',
+        [CONTROL]: '.zjglzbkzj',
+      },
+    },
   };
 })()