Authored by liangxs

Merge branch 'feature/coupon' of http://git.dev.yoho.cn/web/yohobuy into feature/coupon

@@ -40,7 +40,6 @@ class CouponFloorProcess @@ -40,7 +40,6 @@ class CouponFloorProcess
40 // tar note 处理楼层标题 40 // tar note 处理楼层标题
41 if ($fun === 'getCoupon' && $data[$k - 1]['template_name'] === 'text') { 41 if ($fun === 'getCoupon' && $data[$k - 1]['template_name'] === 'text') {
42 $v['data']['floorTitle'] = $data[$k - 1]['data']; 42 $v['data']['floorTitle'] = $data[$k - 1]['data'];
43 - echo '11,';  
44 } 43 }
45 $build = self::$fun($v['data']); 44 $build = self::$fun($v['data']);
46 if (empty($build)) { 45 if (empty($build)) {
@@ -109,7 +108,7 @@ class CouponFloorProcess @@ -109,7 +108,7 @@ class CouponFloorProcess
109 } 108 }
110 if ($floorTitle !== '') { 109 if ($floorTitle !== '') {
111 $data[0]['floorTitle'] = $floorTitle; 110 $data[0]['floorTitle'] = $floorTitle;
112 - $data[0]['showTitle'] = true; 111 + $data[0]['showFloorTitle'] = true;
113 } 112 }
114 $result = $data[0]; 113 $result = $data[0];
115 $result['isCoupon'] = true; 114 $result['isCoupon'] = true;
@@ -35,6 +35,7 @@ class CouponController extends AbstractAction @@ -35,6 +35,7 @@ class CouponController extends AbstractAction
35 if (isset($resource['code']) && $resource['code'] == 200) { 35 if (isset($resource['code']) && $resource['code'] == 200) {
36 $result = CouponFloorProcess::getContent($resource['data']); 36 $result = CouponFloorProcess::getContent($resource['data']);
37 } 37 }
  38 +
38 $this->_view->display('index', array( 39 $this->_view->display('index', array(
39 'content' => $result, 40 'content' => $result,
40 'floorPage' => true 41 'floorPage' => true