【增加】下单赠送积分
This commit is contained in:
parent
8c4e099ddf
commit
23bd534dde
|
|
@ -510,7 +510,7 @@ class Goodssku extends BaseApi
|
|||
$order_by = 'g.sort ' . $sort_config[ 'type' ] . ',g.create_time desc';
|
||||
}
|
||||
|
||||
$field = 'gs.goods_id,gs.sku_id,gs.price,gs.market_price,gs.discount_price,g.goods_stock,(g.sale_num + g.virtual_sale) as sale_num,g.goods_name,gs.site_id,gs.is_free_shipping,g.goods_image,gs.is_virtual,g.recommend_way,gs.unit,gs.promotion_type,g.label_name';
|
||||
$field = 'gs.goods_id,gs.sku_id,gs.price,gs.market_price,gs.discount_price,g.goods_stock,(g.sale_num + g.virtual_sale) as sale_num,g.goods_name,gs.site_id,gs.is_free_shipping,g.goods_image,gs.is_virtual,g.recommend_way,gs.unit,gs.promotion_type,g.label_name,g.give_diamond';
|
||||
if ($token[ 'code' ] >= 0) {
|
||||
$field .= ',gs.is_consume_discount,gs.discount_config,gs.member_price,gs.discount_method';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue