Commit 233aba22 authored by luhongguang's avatar luhongguang

update:goods 数据脚本

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