|
@@ -95,7 +95,7 @@ func (m *WorkDesktopMenu) GetMenuTreeData() error {
|
|
|
if m.IntranetBool {
|
|
|
query = fmt.Sprintf(`SELECT * FROM `+ConfigJson.WorkTableInside+` WHERE appid=? AND status>=0 %s ORDER BY id ASC`, positionType)
|
|
|
}
|
|
|
- logx.Info("query:", query)
|
|
|
+ logx.Info(m.PositionId, "query:", query)
|
|
|
menuData := BaseMysql.SelectBySql(query, m.AppId)
|
|
|
if menuData == nil || len(*menuData) == 0 {
|
|
|
return errors.New("查询数据异常")
|