沈阳玫苑物业管理后端
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
281 B

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