就我而言,我想从命令行设置Stores -> Configuration -> Services -> Magento Web API -> Web API security -> Allow Anonymous Guest Access = Yes
。 (如果需要,我也可以访问mysql。)
答案 0 :(得分:1)
Ooo ...找到答案,可以直接使用mysql
REPLACE INTO core_config_data (path, value) VALUES('webapi/webapisecurity/allow_insecure', 1);