服务配置路径参考
此部分列出了商店 >设置> 配置 > 服务下的管理员中选项可用的变量名称和配置路径。
magento app:config:dump命令将这些值写入到共享配置文件app/etc/config.php中,该文件应位于源代码控制中。 若要选择性地覆盖任何配置设置或设置敏感设置,请参阅使用环境变量覆盖配置设置。 此主题 不 列出敏感且特定于系统的值。
Commerce Web API路径
这些配置值在存储 >设置> 配置 > 服务 > Web API的管理员中可用。
名称
配置路径
仅限Commerce?
默认响应字符集
webapi/soap/charset允许匿名访客访问
webapi/webapisecurity/allow_insecureOAuth路径
这些配置值在存储 >设置> 配置 > 服务 > OAuth的管理员中可用。
名称
配置路径
仅限Commerce?
客户令牌生命周期(小时)
oauth/access_token_lifetime/customer管理令牌生命周期(小时)
oauth/access_token_lifetime/admin清理概率
oauth/cleanup/cleanup_probability有效期
oauth/cleanup/expiration_period有效期
oauth/consumer/expiration_periodOAuth使用者凭据HTTP帖子最大重定向
oauth/consumer/post_maxredirectsOAuth使用者凭据HTTP Post超时
oauth/consumer/post_timeoutrecommendation-more-help
commerce-operations-help-configuration