赛思维服务调研
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
295 B

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()
}