Authored by zhangxiaoru

limit

... ... @@ -484,6 +484,7 @@ class CartModel
$goodsPrice = 0;
foreach ($payReturn['goods_list'] as $single) {
$oneGoods = array();
$oneGoods['id'] = $single['product_sku']; // TODO 未确定用哪个
$oneGoods['thumb'] = Images::getImageUrl($single['goods_images'], 120, 160);
... ... @@ -492,9 +493,11 @@ class CartModel
$oneGoods['size'] = $single['size_name'];
$oneGoods['count'] = $single['buy_number'];
$oneGoods['price'] = Helpers::transPrice($single['last_price']);
if (isset($single['is_limit_skn'])) {
$oneGoods['isLimitSkn'] = $single['is_limit_skn'];
if (isset($single['is_limit_skn']) && $single['is_limit_skn'] === 'Y') {
$oneGoods['isLimitSkn'] = true;
}
$oneGoods['yohoCoinNum'] = $single['yoho_coin_num'];
//gift=>是否赠品,advanceBuy=>是否加价购;
... ...