提交 fafd59ab 编写于 作者: D devil_gong

debug

上级 74e8da2a
......@@ -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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册