debug
parent
74e8da2ac7
commit
fafd59ab8d
|
|
@ -46,7 +46,14 @@ class Cart extends Common
|
|||
*/
|
||||
public function Index()
|
||||
{
|
||||
return BuyService::CartList(['user'=>$this->user]);
|
||||
$ret = BuyService::CartList(['user'=>$this->user]);
|
||||
$ret['data'] = [
|
||||
'data' => $ret['data'],
|
||||
'customer_service_tel' => MyC('common_app_customer_service_tel', null, true),
|
||||
'common_is_exhibition_mode_btn_text'=> MyC('common_is_exhibition_mode_btn_text', null, true),
|
||||
'common_is_exhibition_mode' => (int) MyC('common_is_exhibition_mode', 1),
|
||||
];
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -128,6 +128,9 @@ class Goods extends Common
|
|||
'common_app_is_good_thing' => (int) MyC('common_app_is_good_thing'),
|
||||
'common_app_is_poster_share' => (int) MyC('common_app_is_poster_share'),
|
||||
'common_cart_total' => BuyService::UserCartTotal(['user'=>$this->user]),
|
||||
'customer_service_tel' => MyC('common_app_customer_service_tel', null, true),
|
||||
'common_is_exhibition_mode_btn_text'=> MyC('common_is_exhibition_mode_btn_text', null, true),
|
||||
'common_is_exhibition_mode' => (int) MyC('common_is_exhibition_mode', 0),
|
||||
|
||||
// 优惠劵
|
||||
'plugins_coupon_data' => $this->PluginsCouponGoods($goods_id),
|
||||
|
|
|
|||
Loading…
Reference in New Issue