Quellcode durchsuchen

移除调试打印信息

MaiXinRong vor 5 Jahren
Ursprung
Commit
9a90b6de28
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0 3
      app/middleware/stage_check.js

+ 0 - 3
app/middleware/stage_check.js

@@ -37,12 +37,10 @@ module.exports = options => {
             if (stageOrder <= 0) {
                 throw '您访问的期不存在';
             }
-            console.log(stageOrder);
             const stage = yield this.service.stage.getDataByCondition({
                 tid: this.tender.id,
                 order: stageOrder,
             });
-            console.log(stage);
             if (!stage) {
                 throw '期数据错误';
             }
@@ -59,7 +57,6 @@ module.exports = options => {
             // todo 校验权限 (标段参与人、分享)
             const accountId = this.session.sessionUser.accountId, auditorIds = _.map(stage.auditors, 'aid'), shareIds = [];
             if (accountId === stage.user_id) { // 原报
-                console.log(stage.status);
                 if (stage.curAuditor) {
                     stage.readOnly = stage.curAuditor.aid !== accountId;
                 } else {