Authored by 郭成尧

'店铺介绍href'

@@ -12,6 +12,7 @@ use Product\ShopModel; @@ -12,6 +12,7 @@ use Product\ShopModel;
12 class IndexController extends WebAction 12 class IndexController extends WebAction
13 { 13 {
14 private $_information = array('code' => 400, 'message' => '操作失败,请稍后再试!'); 14 private $_information = array('code' => 400, 'message' => '操作失败,请稍后再试!');
  15 +
15 /** 16 /**
16 * 品牌首页 17 * 品牌首页
17 */ 18 */
@@ -125,7 +126,7 @@ class IndexController extends WebAction @@ -125,7 +126,7 @@ class IndexController extends WebAction
125 $data['shopBanner'] = array( 126 $data['shopBanner'] = array(
126 'banner' => $result['shopBanner'], 127 'banner' => $result['shopBanner'],
127 'shopHome' => Helpers::url('', array('shopId' => $result['shopId']), $domain), 128 'shopHome' => Helpers::url('', array('shopId' => $result['shopId']), $domain),
128 - 'shopIntro' => Helpers::url('aboutShop', array('shopId' => $result['shopId'])), 129 + 'shopIntro' => Helpers::url('/aboutShop', array('shopId' => $result['shopId']), $domain),
129 'coled' => $shopIntro['isFavorite'], 130 'coled' => $shopIntro['isFavorite'],
130 'shopId' => $result['shopId'] 131 'shopId' => $result['shopId']
131 ); 132 );
@@ -279,7 +280,7 @@ class IndexController extends WebAction @@ -279,7 +280,7 @@ class IndexController extends WebAction
279 'coled' => $shopIntro['isFavorite'], 280 'coled' => $shopIntro['isFavorite'],
280 'shopId' => $shopId 281 'shopId' => $shopId
281 ), 282 ),
282 - 'shopAbout' => empty($shopIntro['brandCont']) ? $shopIntro['brandName']: $shopIntro['brandCont'] 283 + 'shopAbout' => empty($shopIntro['brandCont']) ? $shopIntro['brandName'] : $shopIntro['brandCont']
283 ); 284 );
284 } else { 285 } else {
285 return array('code' => 201, 'no data get from api or data error'); 286 return array('code' => 201, 'no data get from api or data error');
@@ -342,7 +343,7 @@ class IndexController extends WebAction @@ -342,7 +343,7 @@ class IndexController extends WebAction
342 'message' => '操作失败' 343 'message' => '操作失败'
343 ); 344 );
344 $uid = $this->getUid(); 345 $uid = $this->getUid();
345 - 346 +
346 $shopId = $this->post('shopId'); 347 $shopId = $this->post('shopId');
347 $isFavorite = $this->post('isFavorite'); 348 $isFavorite = $this->post('isFavorite');
348 $needColloect = $this->post('needColloect', 0); 349 $needColloect = $this->post('needColloect', 0);