Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
e2e55ec07b
  1. 4
      api/app/lib/controllers/project/bind.js

4
api/app/lib/controllers/project/bind.js

@ -19,8 +19,8 @@ async function bindAnxin2pep (ctx) {
name, pepProjectId, anxinProjectId, name, pepProjectId, anxinProjectId,
updateTime: now, mappingClass, updateTime: now, mappingClass,
del: false, del: false,
maintenanceEnd:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[1]:'', maintenanceEnd:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[1]:NULL,
maintenanceStart:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[0]:'' maintenanceStart:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[0]:NULL
} }
// 仅限已有 pepProjectId 的项目 // 仅限已有 pepProjectId 的项目

Loading…
Cancel
Save