Authored by 郭成尧

'店铺介绍href'

... ... @@ -12,6 +12,7 @@ use Product\ShopModel;
class IndexController extends WebAction
{
private $_information = array('code' => 400, 'message' => '操作失败,请稍后再试!');
/**
* 品牌首页
*/
... ... @@ -125,7 +126,7 @@ class IndexController extends WebAction
$data['shopBanner'] = array(
'banner' => $result['shopBanner'],
'shopHome' => Helpers::url('', array('shopId' => $result['shopId']), $domain),
'shopIntro' => Helpers::url('aboutShop', array('shopId' => $result['shopId'])),
'shopIntro' => Helpers::url('/aboutShop', array('shopId' => $result['shopId']), $domain),
'coled' => $shopIntro['isFavorite'],
'shopId' => $result['shopId']
);
... ... @@ -279,7 +280,7 @@ class IndexController extends WebAction
'coled' => $shopIntro['isFavorite'],
'shopId' => $shopId
),
'shopAbout' => empty($shopIntro['brandCont']) ? $shopIntro['brandName']: $shopIntro['brandCont']
'shopAbout' => empty($shopIntro['brandCont']) ? $shopIntro['brandName'] : $shopIntro['brandCont']
);
} else {
return array('code' => 201, 'no data get from api or data error');
... ...