This commit is contained in:
@@ -113,6 +113,25 @@ func bindEnvVariables(v *viper.Viper) {
|
||||
"default_admin.username",
|
||||
"default_admin.password",
|
||||
"default_admin.phone",
|
||||
"gateway.base_url",
|
||||
"gateway.app_id",
|
||||
"gateway.app_secret",
|
||||
"gateway.timeout",
|
||||
"wechat.official_account.app_id",
|
||||
"wechat.official_account.app_secret",
|
||||
"wechat.official_account.token",
|
||||
"wechat.official_account.aes_key",
|
||||
"wechat.official_account.oauth_redirect_url",
|
||||
"wechat.payment.app_id",
|
||||
"wechat.payment.mch_id",
|
||||
"wechat.payment.api_v3_key",
|
||||
"wechat.payment.api_v2_key",
|
||||
"wechat.payment.cert_path",
|
||||
"wechat.payment.key_path",
|
||||
"wechat.payment.serial_no",
|
||||
"wechat.payment.notify_url",
|
||||
"wechat.payment.http_debug",
|
||||
"wechat.payment.timeout",
|
||||
}
|
||||
|
||||
for _, key := range bindings {
|
||||
|
||||
Reference in New Issue
Block a user