Commit e966d555 authored by jianghaiming's avatar jianghaiming

update:set

parent 5cc81322
...@@ -62,7 +62,7 @@ class MarketinggoodsController extends Base ...@@ -62,7 +62,7 @@ class MarketinggoodsController extends Base
$goodsName = !empty($goodsSkuInfo['goods_name']) ? $goodsSkuInfo['goods_name'] : ''; $goodsName = !empty($goodsSkuInfo['goods_name']) ? $goodsSkuInfo['goods_name'] : '';
$oldPrice = !empty($goodsSkuInfo['original_price']) ? $goodsSkuInfo['original_price'] : ''; $oldPrice = !empty($goodsSkuInfo['original_price']) ? $goodsSkuInfo['original_price'] : '';
$price = !empty($goodsSkuInfo['price']) ? $goodsSkuInfo['price'] : "0.00"; $price = !empty($goodsSkuInfo['price']) ? $goodsSkuInfo['price']/100 : "0.00";
$goodsImg = ""; $goodsImg = "";
......
...@@ -127,8 +127,8 @@ class MarketingGoodsService ...@@ -127,8 +127,8 @@ class MarketingGoodsService
$shopId = !empty($list[$i]['shop_id']) ? $list[$i]['shop_id'] : ''; $shopId = !empty($list[$i]['shop_id']) ? $list[$i]['shop_id'] : '';
$list[$i]['shop_name'] = !empty($subShopList[$shopId]['shop_name']) ? $subShopList[$shopId]['shop_name'] : ''; $list[$i]['shop_name'] = !empty($subShopList[$shopId]['shop_name']) ? $subShopList[$shopId]['shop_name'] : '';
$commissionMode = !empty($marketingList[$value['marketing_id']]['commission_mode']) ? $marketingList[$value['marketing_id']]['commission_mode'] : ''; $commissionMode = !empty($marketingList[$value['marketing_id']]['commission_mode']) ? $marketingList[$value['marketing_id']]['commission_mode']/100 : '';
$firstCommission = !empty($marketingList[$value['marketing_id']]['first_commission_value']) ? $marketingList[$value['marketing_id']]['first_commission_value'] : 0; $firstCommission = !empty($marketingList[$value['marketing_id']]['first_commission_value']) ? $marketingList[$value['marketing_id']]['first_commission_value']/100 : 0;
//比例 //比例
if (!empty($commissionMode) && $commissionMode == 1) { if (!empty($commissionMode) && $commissionMode == 1) {
......
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