소스 검색

Merge branch 'eta/1.0.4' into debug

hsun 1 년 전
부모
커밋
de46bde8d5
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      controllers/eta_business/eta_business_menu.go
  2. 1 0
      models/eta_business/eta_business_menu.go

+ 1 - 0
controllers/eta_business/eta_business_menu.go

@@ -131,6 +131,7 @@ func (this *EtaBusinessMenuController) List() {
 			Hidden:     v.Hidden,
 			MenuType:   v.MenuType,
 			ButtonCode: v.ButtonCode,
+			CreateTime: v.CreateTime.Format(utils.FormatDateTime),
 			Children:   make([]*eta_business.EtaBusinessMenuItem, 0),
 		}
 		items = append(items, t)

+ 1 - 0
models/eta_business/eta_business_menu.go

@@ -181,6 +181,7 @@ type EtaBusinessMenuItem struct {
 	Level        int                    `description:"菜单等级:1-2-3"`
 	MenuType     int                    `description:"菜单类型: 0-菜单; 1-按钮; 2-字段(需要特殊处理)"`
 	ButtonCode   string                 `description:"按钮/菜单唯一标识"`
+	CreateTime   string                 `description:"创建时间"`
 	Children     []*EtaBusinessMenuItem `description:"子菜单"`
 }