Browse Source

Merge branch 'v2' of https://git.qianqiusoft.com/qianqiusoft/light-apiengine into v2

huangyh 6 years ago
parent
commit
f86aa3a7d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/partial/SystemController.go

+ 1 - 1
controllers/partial/SystemController.go

@@ -971,7 +971,7 @@ func System_GetDomainMenuTree(c *entitys.CtrlContext) {
 		return
 	}
 
-	paramMap := map[string]interface{}{"type": _type, "type_op": type_op, "name": "", "hidden": ""}
+	paramMap := map[string]interface{}{"type": _type, "type_op": op, "name": "", "hidden": ""}
 	domainMenus, err := c.App.GetBusinessDb(domain.Domain).SqlTemplateClient("system_get_menu_tree.tpl", &paramMap).Query().List()
 	if err != nil {
 		c.Ctx.JSON(500, sysmodel.SysReturn{500, "get domain_menu tree: " + err.Error(), nil})