如何通过终端设置Magento 2配置设置?

时间:2016-09-20 20:50:24

标签: magento magento2

就我而言,我想从命令行设置Stores -> Configuration -> Services -> Magento Web API -> Web API security -> Allow Anonymous Guest Access = Yes。 (如果需要,我也可以访问mysql。)

1 个答案:

答案 0 :(得分:1)

Ooo ...找到答案,可以直接使用mysql

REPLACE INTO core_config_data (path, value) VALUES('webapi/webapisecurity/allow_insecure', 1);