feat:完善项目信息

This commit is contained in:
henry
2022-01-13 09:08:02 +08:00
parent 5ca8b3f7ff
commit a15f0fff2b
5 changed files with 141 additions and 2 deletions

View File

@ -4,6 +4,7 @@ import (
"SciencesServer/app/basic/config"
model2 "SciencesServer/app/common/model"
config2 "SciencesServer/config"
"fmt"
)
type Config struct{}
@ -52,7 +53,8 @@ func (c *Config) Industry(parentID uint64) []*IndustryInfo {
for _, v := range out {
list = append(list, &IndustryInfo{
ID: v.GetEncodeID(),
//ID: v.GetEncodeID(),
ID: fmt.Sprintf("%d", v.ID),
Name: v.Name,
})
}