Commit f59a70ff authored by 智勇's avatar 智勇

update

parent 2027d8c1
......@@ -5,8 +5,7 @@ const { DBConfig } = require('../service/mongoService');
const config = require('../../src/');
const { defaultUsername } = config.syncDB;
const { defaultPasswd } = config.syncDB;
const { defaultUsername, defaultPasswd } = config.syncDB;
const getDBConfig = async (ctx) => {
const item = await DBConfig.getDBConfig({}, {}, { dbname: 1 });
......
......@@ -12,7 +12,7 @@ const authenticate = require('../service/authenticate')
const router = new Router()
const admin = ['zhijie.xue', 'luoyong.meng', 'kewei.jia', 'hui.hu', 'yong.zhi', 'haiyuan.wen']
const admin = ['zhijie.xue', 'luoyong.meng', 'jinfang.liu', 'yong.zhi', 'haiyuan.wen']
const login = async function (ctx) {
const { body } = ctx.request
......
......@@ -53,6 +53,7 @@ async function getRepoOfNs(ctx, ns) {
// 把tag信息拉平到appname上
const m = []
console.log(1, repos)
repos.forEach((item) => {
const tags = item.tags || [LASTEST]
tags.forEach((tag) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment