Skip to content

Commit

Permalink
Merge pull request #75 from zhangbin1010/dev
Browse files Browse the repository at this point in the history
[Upgrade] 调整默认角色编码
  • Loading branch information
zhangbinhub authored Aug 17, 2019
2 parents 73d53a3 + 1b355ae commit 380486b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object RoleCode {
/**
* 新建角色时默认值
*/
const val OTHER = "OTHER"
const val BUSINESS = "BUSINESS"

/**
* 超级管理员
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ constructor(private val logAdapter: LogAdapter, private val menuDomain: MenuDoma
moduleFuncCodeList.add(value)
}
}
moduleFuncCodeList.sort()
} catch (e: Exception) {
logAdapter.error(e.message, e)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ constructor(private val logAdapter: LogAdapter, private val roleDomain: RoleDoma
}
}
}
roleCodeList.sort()
} catch (e: Exception) {
logAdapter.error(e.message, e)
}
Expand Down

0 comments on commit 380486b

Please sign in to comment.