Commit c1c978a2 authored by kewei.jia's avatar kewei.jia

增加一项目返回参数

parent 7268a603
......@@ -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