sylius系统api启用

生成api jwt secret

php bin/console lexik:jwt:generate-keypair

将用户加入到管理端api角色中

bin/console sylius:user:promote [email protected] ROLE_API_ACCESS –user-type=admin

Leave a Reply

Your email address will not be published. Required fields are marked *