Commit 3e00d1a0 authored by luhongguang's avatar luhongguang

update:分销返现多少钱

parent 7b7f2f9b
......@@ -807,6 +807,9 @@ class GoodsService
$distributorList = DistributorService::getDistributorInfo($params["user_id"]);
if (!empty($distributorList)) {
$data["goods_info"]["is_tuanzhang"] = true;
if (!empty($runningMarketing)) {
$data["goods_info"]["cash_back"] = $runningMarketing[$params["goods_sku_id"]] * $data["goods_info"]["price"];
}
}
}
return $data;
......
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