You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
437 B
Go
26 lines
437 B
Go
package config
|
|
|
|
import (
|
|
"github.com/mizuki1412/go-core-kit/service/configkit"
|
|
"github.com/mizuki1412/go-core-kit/service/logkit"
|
|
)
|
|
|
|
type Status struct {
|
|
Step string //当前步骤
|
|
Process string //区分是小区、楼宇、零星流程
|
|
}
|
|
|
|
type Config struct {
|
|
Sid string
|
|
}
|
|
|
|
var Conf = new(Config)
|
|
|
|
func Init() {
|
|
sid := configkit.GetString(EngSysSid, "")
|
|
if sid == "" {
|
|
logkit.Fatal("EngSysSid Empty!")
|
|
}
|
|
Conf.Sid = sid
|
|
}
|