feat/task1-c-wallet
devil_gong 2019-11-05 12:14:50 +08:00
parent 98e3cccd4d
commit c83c693fc3
1 changed files with 10 additions and 6 deletions

View File

@ -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;
}