Commit 24cfbb39 authored by 薛智杰's avatar 薛智杰

Merge branch 'jiakewei' into 'master'

增加一项目返回参数



See merge request !38
parents 8f01846a c1c978a2
......@@ -25,7 +25,7 @@ module.exports = router
router.get('/', async (ctx) => {
const data = await getServicesFormat(ctx.query.namespace)
ctx.body = ctx.ok({ services: data })
ctx.body = ctx.ok({ services: data, namespace: ctx.query.namespace })
})
const makeResouce = (serviceName, type) => {
......
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