【发布时间】:2016-09-06 07:17:42
【问题描述】:
我使用 API 创建了一个新客户
http://{{doman_name}}/index.php/rest/V1/customers
当我可以登录 API 时,一个令牌正在返回。这意味着客户处于活动状态。
http://{{doman_name}}/index.php/rest/V1/integration/customer/token
有什么问题?
【问题讨论】:
我使用 API 创建了一个新客户
http://{{doman_name}}/index.php/rest/V1/customers
当我可以登录 API 时,一个令牌正在返回。这意味着客户处于活动状态。
http://{{doman_name}}/index.php/rest/V1/integration/customer/token
有什么问题?
【问题讨论】:
只需检查magento数据库中的customer_entity表。如果你在那里找不到任何数据,那么客户就没有成功创建或刷新一次缓存(实际上它不是缓存问题,而是尝试)
或
go to magento root directory with root privileges
php bin/magento indexer:reindex
【讨论】: