Browse Source

隐藏接口设置

MaiXinRong 4 years ago
parent
commit
0b6e033a89
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/controller/setting_controller.js

+ 2 - 1
app/controller/setting_controller.js

@@ -36,7 +36,8 @@ module.exports = app => {
         async _checkMenu(pid) {
         async _checkMenu(pid) {
             const s2bData = new S2b(this.ctx);
             const s2bData = new S2b(this.ctx);
             const s2bProj = await s2bData.getS2bProj(pid);
             const s2bProj = await s2bData.getS2bProj(pid);
-            this.ctx.subMenu.s2b.display = !!s2bProj && (!!s2bProj.gxby || !!s2bProj.dagl);
+            // this.ctx.subMenu.s2b.display = !!s2bProj && (!!s2bProj.gxby || !!s2bProj.dagl);
+            this.ctx.subMenu.s2b.display = false;
             return s2bProj;
             return s2bProj;
         }
         }