Merge remote-tracking branch 'origin/main' into practical-training

This commit is contained in:
TsMask committed 2024-07-03 15:20:57 +08:00
commit ab681e7724
8 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ func (s *SysProfileController) Info(c *gin.Context) {
}
isAdmin := config.IsAdmin(loginUser.UserID)
if isAdmin {
roleGroup = append(roleGroup, i18n.TKey(language, "role.admin"))
roleGroup = append(roleGroup, i18n.TKey(language, "role.system"))
}
// 查询用户所属岗位组