Browse Source

fix:#810

main
piexlmax 3 years ago
parent
commit
a3cb0a530e
  1. 1
      server/source/system/view_authority_menu_mysql.go
  2. 1
      server/source/system/view_authority_menu_postgres.go

1
server/source/system/view_authority_menu_mysql.go

@ -36,6 +36,7 @@ func (v *viewAuthorityMenuMysql) Initialize() error {
@menus.keep_alive AS keep_alive, @menus.keep_alive AS keep_alive,
@menus.menu_level AS menu_level, @menus.menu_level AS menu_level,
@menus.default_menu AS default_menu, @menus.default_menu AS default_menu,
@menus.close_tab AS close_tab,
@authorities_menus.sys_base_menu_id AS menu_id, @authorities_menus.sys_base_menu_id AS menu_id,
@authorities_menus.sys_authority_authority_id AS authority_id @authorities_menus.sys_authority_authority_id AS authority_id
from (@authorities_menus from (@authorities_menus

1
server/source/system/view_authority_menu_postgres.go

@ -36,6 +36,7 @@ func (a *viewAuthorityMenuPostgres) Initialize() error {
@menus.deleted_at as deleted_at, @menus.deleted_at as deleted_at,
@menus.menu_level as menu_level, @menus.menu_level as menu_level,
@menus.default_menu as default_menu, @menus.default_menu as default_menu,
@menus.close_tab as close_tab,
@authorities_menus.sys_base_menu_id as menu_id, @authorities_menus.sys_base_menu_id as menu_id,
@authorities_menus.sys_authority_authority_id as authority_id @authorities_menus.sys_authority_authority_id as authority_id
from (@authorities_menus join @menus on ((@authorities_menus.sys_base_menu_id = @menus.id)));` from (@authorities_menus join @menus on ((@authorities_menus.sys_base_menu_id = @menus.id)));`

Loading…
Cancel
Save