作者 yangfu

fix: add env

@@ -45,6 +45,7 @@ func init() { @@ -45,6 +45,7 @@ func init() {
45 45
46 BLACK_LIST_USER = Configurator.DefaultInt64("BLACK_LIST_USER", BLACK_LIST_USER) 46 BLACK_LIST_USER = Configurator.DefaultInt64("BLACK_LIST_USER", BLACK_LIST_USER)
47 BLACK_LIST_COMPANY = Configurator.DefaultInt64("BLACK_LIST_COMPANY", BLACK_LIST_COMPANY) 47 BLACK_LIST_COMPANY = Configurator.DefaultInt64("BLACK_LIST_COMPANY", BLACK_LIST_COMPANY)
  48 + DIGITAL_SERVER_HOST = Configurator.DefaultString("DIGITAL_SERVER_HOST", DIGITAL_SERVER_HOST)
48 49
49 whiteListUsers := strings.Split(Configurator.DefaultString("WHITE_LIST_USERS", ""), ",") 50 whiteListUsers := strings.Split(Configurator.DefaultString("WHITE_LIST_USERS", ""), ",")
50 for _, userId := range whiteListUsers { 51 for _, userId := range whiteListUsers {