diff --git a/cmd/main.go b/cmd/main.go index f185265..a3f9455 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -16,14 +16,13 @@ var conf = &instance.PkgConf{ CookieValue: "zltx", } -type Config struct { - AppId string `json:"app_id"` - AppKey string `json:"app_key"` - BaseUri string `json:"base_uri"` - NotifyUrl string `json:"notify_url"` -} - func config() []byte { + type Config struct { + AppId string `json:"app_id"` + AppKey string `json:"app_key"` + BaseUri string `json:"base_uri"` + NotifyUrl string `json:"notify_url"` + } c := &Config{ AppId: "23329", AppKey: "8db16e8cc8363ed4eb4c14f9520bcc32",