debug
parent
98e3cccd4d
commit
c83c693fc3
|
|
@ -47,12 +47,16 @@ class Cart extends Common
|
|||
public function Index()
|
||||
{
|
||||
$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),
|
||||
];
|
||||
if(APPLICATION_CLIENT_TYPE != 'weixin')
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue