Commit 233aba22 authored by luhongguang's avatar luhongguang

update:goods 数据脚本

parent dbe63ef9
...@@ -75,8 +75,8 @@ class GoodsToInitController extends Cli ...@@ -75,8 +75,8 @@ class GoodsToInitController extends Cli
$merchantId = $accountRes["merchant_id"]; $merchantId = $accountRes["merchant_id"];
} else { } else {
$lifeAccountInfo = $this->addCreateUnauthorized($userId); $lifeAccountInfo = $this->addCreateUnauthorized($userId);
$lifeAccountId = $lifeAccountInfo["life_account_id"]; $lifeAccountId = empty($lifeAccountInfo["life_account_id"]) ? "" : $lifeAccountInfo["life_account_id"];
$merchantId = $lifeAccountInfo["merchant_id"]; $merchantId = empty($lifeAccountInfo["merchant_id"]) ? "" : $lifeAccountInfo["merchant_id"];
} }
if (empty($lifeAccountId) || empty($merchantId)) { if (empty($lifeAccountId) || empty($merchantId)) {
......
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