mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
【优化】租户功能,框架优化
This commit is contained in:
@@ -23,7 +23,10 @@ func InitSysTenantRouter(router *gin.RouterGroup) {
|
||||
routerGroup.GET("list", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(SysTenantListLog).Handle(s.GetSysTenantsList)
|
||||
})
|
||||
|
||||
SysTenantAllLog := ctx.NewLogInfo("获取SysTenant列表")
|
||||
routerGroup.GET("lists", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(SysTenantAllLog).Handle(s.GetSysTenantsAll)
|
||||
})
|
||||
SysTenantLog := ctx.NewLogInfo("获取SysTenant信息")
|
||||
routerGroup.GET(":tenantId", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(SysTenantLog).Handle(s.GetSysTenants)
|
||||
|
||||
Reference in New Issue
Block a user