|
|
- package inits
-
- import (
- "SSW_WebPlatform/inits/parse"
- "SSW_WebPlatform/inits/sys"
- )
-
- func Init() {
- parse.AppOtherParse()
-
- initRootUser()
- }
-
- func initRootUser() {
- // root is existed?
- if sys.CheckRootExit() {
- return
- }
-
- // create root user
- sys.CreateRoot()
-
- sys.CreateSystemRole()
-
- }
-
-
|