feat:完善项目信息

This commit is contained in:
henry
2022-01-05 18:40:08 +08:00
parent 53c1f3912b
commit 7488e9526b
15 changed files with 317 additions and 313 deletions

View File

@ -32,8 +32,12 @@ func GetSession() ApiHandle {
func GetTenantID() ApiHandle {
return func(c *gin.Context) interface{} {
value, _ := c.Get(config.ContentForTenantID)
return value
_, isExist := c.Get(config.ContentForTenantID)
//value
if !isExist {
return 0
}
return uint64(0)
}
}