{"action":"closed","issue":{"url":"https://api.github.com/repos/iamfat/gini/issues/31","labels_url":"https://api.github.com/repos/iamfat/gini/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/iamfat/gini/issues/31/comments","events_url":"https://api.github.com/repos/iamfat/gini/issues/31/events","html_url":"https://github.com/iamfat/gini/issues/31","id":78909005,"number":31,"title":"在配置的 GINI_ENV 的情况下, 数组类型配置叠加时, GINI_ENV 配置应在默认配置的前面","user":{"login":"stenote","id":1109648,"avatar_url":"https://avatars.githubusercontent.com/u/1109648?v=3","gravatar_id":"","url":"https://api.github.com/users/stenote","html_url":"https://github.com/stenote","followers_url":"https://api.github.com/users/stenote/followers","following_url":"https://api.github.com/users/stenote/following{/other_user}","gists_url":"https://api.github.com/users/stenote/gists{/gist_id}","starred_url":"https://api.github.com/users/stenote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenote/subscriptions","organizations_url":"https://api.github.com/users/stenote/orgs","repos_url":"https://api.github.com/users/stenote/repos","events_url":"https://api.github.com/users/stenote/events{/privacy}","received_events_url":"https://api.github.com/users/stenote/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T09:25:23Z","updated_at":"2015-05-22T09:11:31Z","closed_at":"2015-05-22T09:11:31Z","body":"在配置了 GINI_ENV 的情况下, 如果有数组类型的配置, GINI_ENV 的配置在默认配置的后面.\r\n\r\n通常如果我们使用的 GINI_ENV, 会加载 GINI_ENV 下的配置, 但是加载后, 配置会叠加在默认配置的后面, 这样引发的问题是, GINI_ENV 的配置有可能压根用不上. \r\n\r\n在其他的一些项目中, 如果 runmode = dev, 那么 [dev] 下的配置会直接覆盖默认的配置. \r\n\r\n为何此处不这么使用呢 ? "}}