Commit fe1fdd5c by lmf

修复谷歌shopping插件获取账户信息失败bug

parent 54297ee0
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "29cabf37a1ac686d49544a0cb5aaa6e7",
"content-hash": "bd7ce4c2323b6f416cd64332b0fae6f1",
"packages": [
{
"name": "airwallex/payments-plugin-magento",
......
......@@ -210,8 +210,8 @@ location ~ ^/(index|get|static|errors/report|errors/404|errors/503|health_check)
fastcgi_pass fastcgi_backend;
# fix: upstream sent too big header
#fastcgi_buffers 1024 4k;
fastcgi_buffers 16 256k;
fastcgi_buffer_size 256k;
fastcgi_buffers 16 256k;
fastcgi_buffer_size 1024k;
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
fastcgi_param PHP_VALUE "memory_limit=756M \n max_execution_time=18000";
......
......@@ -5,7 +5,7 @@
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'aa151b3790b9ffbf345a885f0b2152bbb0af129b',
'reference' => '54297ee0198f5ada7d18d3d02b1b23c4e90f00c0',
'name' => 'magento/magento2ce',
'dev' => true,
),
......@@ -1015,7 +1015,7 @@
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'aa151b3790b9ffbf345a885f0b2152bbb0af129b',
'reference' => '54297ee0198f5ada7d18d3d02b1b23c4e90f00c0',
'dev_requirement' => false,
),
'magento/module-admin-analytics' => array(
......
......@@ -223,7 +223,7 @@ class Client
$connection->truncateTable($tableName);
if (!empty($accounts)) {
foreach ($accounts as $account) {
foreach ($accounts[0] as $account) {
try {
$newModel = $this->accountsModel->create();
$newModel->addData(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment