Authored by Lynnic

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/cart

@@ -168,7 +168,7 @@ class DetailModel @@ -168,7 +168,7 @@ class DetailModel
168 foreach ($baseInfo['goodsList'] as $value) { 168 foreach ($baseInfo['goodsList'] as $value) {
169 $sizeList = array(); 169 $sizeList = array();
170 $colorStorageNum = 0; 170 $colorStorageNum = 0;
171 - $sizeStorageStr = ''; // clear to empty 171 + $sizeStorageStr = '';
172 172
173 // 商品分组 173 // 商品分组
174 if (isset($value['goodsImagesList'])) { 174 if (isset($value['goodsImagesList'])) {
@@ -210,7 +210,7 @@ class DetailModel @@ -210,7 +210,7 @@ class DetailModel
210 // 缩略图 210 // 缩略图
211 $thumbImageList[] = array('img' => Helpers::getImageUrl($value['colorImage'], 60, 60) ); 211 $thumbImageList[] = array('img' => Helpers::getImageUrl($value['colorImage'], 60, 60) );
212 212
213 - // 统计每个尺码对应的各个颜色的库存量 213 + // 统计尺码对应的各个颜色的库存量
214 foreach ($sizeList as &$sizeArr) { 214 foreach ($sizeList as &$sizeArr) {
215 $sizeArr['colorNumStr'] = implode('/', array_values($colorStorageGroup[ $sizeArr['name'] ]) ); 215 $sizeArr['colorNumStr'] = implode('/', array_values($colorStorageGroup[ $sizeArr['name'] ]) );
216 } 216 }
@@ -86,6 +86,7 @@ class BindController extends AbstractAction @@ -86,6 +86,7 @@ class BindController extends AbstractAction
86 $sourceType = $this->get('sourceType'); 86 $sourceType = $this->get('sourceType');
87 $nickname = $this->get('nickname'); 87 $nickname = $this->get('nickname');
88 $areaCode = $this->get('areaCode', '86'); 88 $areaCode = $this->get('areaCode', '86');
  89 + $phoneNum=$this->get('phoneNum');
89 $data = array( 90 $data = array(
90 'bindPwd'=>true,//js标识 91 'bindPwd'=>true,//js标识
91 'backUrl' => '/', // 返回的URL链接 92 'backUrl' => '/', // 返回的URL链接
@@ -94,7 +95,8 @@ class BindController extends AbstractAction @@ -94,7 +95,8 @@ class BindController extends AbstractAction
94 'sourceType' => $sourceType, // 第三方登录来源 95 'sourceType' => $sourceType, // 第三方登录来源
95 'openId' => $openId, // openId 96 'openId' => $openId, // openId
96 'nickname' => $nickname, //昵称 97 'nickname' => $nickname, //昵称
97 - 'areaCode' => $areaCode //国别码 98 + 'areaCode' => $areaCode, //国别码
  99 + 'phoneNum' => $phoneNum //国别码
98 ); 100 );
99 101
100 // 渲染模板 102 // 渲染模板