瀏覽代碼

更新PC WEB菜单配置

zhou.xiaoning 4 年之前
父節點
當前提交
4aff7b9b05
共有 2 個文件被更改,包括 226 次插入0 次删除
  1. 224 0
      config/pc_menu.json
  2. 2 0
      controllers/common/menu.go

文件差異過大導致無法顯示
+ 224 - 0
config/pc_menu.json


+ 2 - 0
controllers/common/menu.go

@@ -21,6 +21,8 @@ type ClientMenu struct {
 	Type     int          `json:"type"`     // 类型,1:菜单 2:按钮
 	RuleKey  string       `json:"rulekey"`  // 对应权限主键,对应FUNCMENULIST表RESOURCECODE
 	IsShow   bool         `json:"isshow"`   // 是否显示
+	URL      string       `json:"url"`      // URL
+	Remark   string       `json:"remark"`   // 备注
 	Children []ClientMenu `json:"children"` // 子菜单列表
 }
 

部分文件因文件數量過多而無法顯示