Commit 52087684 authored by luhongguang's avatar luhongguang

update:master fix

parent c150da0e
......@@ -70,6 +70,9 @@ class MarketingGoodsService
"online_status" => 1,
];
$marketingList = Marketing::getMarketingList($marketingWhere);
$list = [];
$lastId = "";
if (!empty($marketingList)) {
$marketingId = array_column($marketingList, 'marketing_id');
$where['marketing_id'] = !empty($marketingId) ? $marketingId : [];
$data = MarketingGoods::marketingGoodsList($where);
......@@ -97,7 +100,6 @@ class MarketingGoodsService
$lifeAccountList = CommonService::getlifeAccountList(['life_account_id' => $lifeAccountId]);
$list = [];
$i = 0;
foreach ($data as $key => $value) {
......@@ -160,8 +162,7 @@ class MarketingGoodsService
$list[$i]['goods_share_code'] = $goodsShareId;
$i++;
}
}
}
$result = ['result' => $list ,'last_id' => $lastId];
......
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