feat:完善项目信息

This commit is contained in:
henry
2022-01-11 10:41:46 +08:00
parent 6712feec35
commit 7cab0fb354
24 changed files with 188 additions and 169 deletions

View File

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