Showing
1 changed file
with
51 additions
and
41 deletions
@@ -34,14 +34,14 @@ class ReturnsModel | @@ -34,14 +34,14 @@ class ReturnsModel | ||
34 | if (isset($returnsData['code']) && $returnsData['code'] == 200 && !empty($returnsData['data']['list'])) { | 34 | if (isset($returnsData['code']) && $returnsData['code'] == 200 && !empty($returnsData['data']['list'])) { |
35 | //设置分页 | 35 | //设置分页 |
36 | $pager = self::setPager($returnsData['data']['page'], $returnsData['data']['total'], $returnsData['data']['total_page'], $limit); | 36 | $pager = self::setPager($returnsData['data']['page'], $returnsData['data']['total'], $returnsData['data']['total_page'], $limit); |
37 | - foreach($returnsData['data']['list'] as $key => $value){ | 37 | + foreach ($returnsData['data']['list'] as $key => $value) { |
38 | $list[$key]['orderNum'] = $value['order_code']; | 38 | $list[$key]['orderNum'] = $value['order_code']; |
39 | - $list[$key]['orderTime'] = str_replace('-','/',$value['order_create_time']); | 39 | + $list[$key]['orderTime'] = str_replace('-', '/', $value['order_create_time']); |
40 | $list[$key]['returnTime'] = $value['create_time']; | 40 | $list[$key]['returnTime'] = $value['create_time']; |
41 | if ($value['refund_type'] == 1) { | 41 | if ($value['refund_type'] == 1) { |
42 | $list[$key]['isChange'] = false; | 42 | $list[$key]['isChange'] = false; |
43 | $uri = '/home/returns/refundDetail'; | 43 | $uri = '/home/returns/refundDetail'; |
44 | - }elseif ($value['refund_type'] == 2) { | 44 | + } elseif ($value['refund_type'] == 2) { |
45 | $list[$key]['isChange'] = true; | 45 | $list[$key]['isChange'] = true; |
46 | $uri = '/home/returns/exchangeDetail'; | 46 | $uri = '/home/returns/exchangeDetail'; |
47 | } | 47 | } |
@@ -49,10 +49,10 @@ class ReturnsModel | @@ -49,10 +49,10 @@ class ReturnsModel | ||
49 | $param = array( | 49 | $param = array( |
50 | 'id' => $value['id'] | 50 | 'id' => $value['id'] |
51 | ); | 51 | ); |
52 | - $list[$key]['moreHref'] = helpers::url($uri,$param); | 52 | + $list[$key]['moreHref'] = helpers::url($uri, $param); |
53 | $list[$key]['goods'] = self::getGoodsData($value['goods']); | 53 | $list[$key]['goods'] = self::getGoodsData($value['goods']); |
54 | } | 54 | } |
55 | - }else{ | 55 | + } else { |
56 | $list = array( | 56 | $list = array( |
57 | 'empty' => '您没有退/换货订单' | 57 | 'empty' => '您没有退/换货订单' |
58 | ); | 58 | ); |
@@ -62,8 +62,8 @@ class ReturnsModel | @@ -62,8 +62,8 @@ class ReturnsModel | ||
62 | $path = UserModel::getCenterCrumb('退货/换货'); | 62 | $path = UserModel::getCenterCrumb('退货/换货'); |
63 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 63 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
64 | $data = array( | 64 | $data = array( |
65 | - 'path'=>$path, | ||
66 | - 'homeNav'=>$leftNav, | 65 | + 'path' => $path, |
66 | + 'homeNav' => $leftNav, | ||
67 | 'orders' => $list, | 67 | 'orders' => $list, |
68 | 'userThumb' => UserModel::getUserHeadImg($uid), | 68 | 'userThumb' => UserModel::getUserHeadImg($uid), |
69 | 'pager' => $pager | 69 | 'pager' => $pager |
@@ -97,13 +97,13 @@ class ReturnsModel | @@ -97,13 +97,13 @@ class ReturnsModel | ||
97 | $detail['express']['number'] = isset($res['notice']['express_number']) ? $res['notice']['express_number'] : ''; | 97 | $detail['express']['number'] = isset($res['notice']['express_number']) ? $res['notice']['express_number'] : ''; |
98 | $detail['express']['id'] = isset($res['notice']['express_id']) ? $res['notice']['express_id'] : ''; | 98 | $detail['express']['id'] = isset($res['notice']['express_id']) ? $res['notice']['express_id'] : ''; |
99 | } | 99 | } |
100 | - foreach($res['statusList'] as $key=>$value){ | ||
101 | - $detail['statusList'][$key]['act'] = ($value['act' ] == 'Y') ? true : false; | 100 | + foreach ($res['statusList'] as $key => $value) { |
101 | + $detail['statusList'][$key]['act'] = ($value['act'] == 'Y') ? true : false; | ||
102 | $detail['statusList'][$key]['name'] = $value['name']; | 102 | $detail['statusList'][$key]['name'] = $value['name']; |
103 | } | 103 | } |
104 | $detail['goods'] = self::getDetailGoods($res['goods_list']); | 104 | $detail['goods'] = self::getDetailGoods($res['goods_list']); |
105 | $detail['expressList'] = self::getExpressCompany(); | 105 | $detail['expressList'] = self::getExpressCompany(); |
106 | - }else{ | 106 | + } else { |
107 | return false; | 107 | return false; |
108 | } | 108 | } |
109 | 109 | ||
@@ -111,10 +111,10 @@ class ReturnsModel | @@ -111,10 +111,10 @@ class ReturnsModel | ||
111 | $path = UserModel::getCenterCrumb('退货/换货'); | 111 | $path = UserModel::getCenterCrumb('退货/换货'); |
112 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 112 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
113 | $data = array( | 113 | $data = array( |
114 | - 'path'=>$path, | ||
115 | - 'homeNav'=>$leftNav, | 114 | + 'path' => $path, |
115 | + 'homeNav' => $leftNav, | ||
116 | 'userThumb' => UserModel::getUserHeadImg($uid), | 116 | 'userThumb' => UserModel::getUserHeadImg($uid), |
117 | - 'detail'=>$detail | 117 | + 'detail' => $detail |
118 | ); | 118 | ); |
119 | 119 | ||
120 | return $data; | 120 | return $data; |
@@ -145,7 +145,7 @@ class ReturnsModel | @@ -145,7 +145,7 @@ class ReturnsModel | ||
145 | $detail['express']['company'] = isset($res['notice']['express_company']) ? $res['notice']['express_company'] : ''; | 145 | $detail['express']['company'] = isset($res['notice']['express_company']) ? $res['notice']['express_company'] : ''; |
146 | $detail['express']['number'] = isset($res['notice']['express_number']) ? $res['notice']['express_number'] : ''; | 146 | $detail['express']['number'] = isset($res['notice']['express_number']) ? $res['notice']['express_number'] : ''; |
147 | } | 147 | } |
148 | - foreach($res['statusList'] as $key=>$value){ | 148 | + foreach ($res['statusList'] as $key => $value) { |
149 | $detail['statusList'][$key]['act'] = ($value['act'] == 'Y') ? true : false; | 149 | $detail['statusList'][$key]['act'] = ($value['act'] == 'Y') ? true : false; |
150 | $detail['statusList'][$key]['name'] = $value['name']; | 150 | $detail['statusList'][$key]['name'] = $value['name']; |
151 | } | 151 | } |
@@ -153,17 +153,17 @@ class ReturnsModel | @@ -153,17 +153,17 @@ class ReturnsModel | ||
153 | $detail['backMode'] = isset($res['return_amount_mode_name']) ? $res['return_amount_mode_name'] : ''; | 153 | $detail['backMode'] = isset($res['return_amount_mode_name']) ? $res['return_amount_mode_name'] : ''; |
154 | $detail['goods'] = self::getDetailGoods($res['goods_list']); | 154 | $detail['goods'] = self::getDetailGoods($res['goods_list']); |
155 | $detail['expressList'] = self::getExpressCompany(); | 155 | $detail['expressList'] = self::getExpressCompany(); |
156 | - }else{ | 156 | + } else { |
157 | return false; | 157 | return false; |
158 | } | 158 | } |
159 | //面包屑-左侧导航 | 159 | //面包屑-左侧导航 |
160 | $path = UserModel::getCenterCrumb('退货/换货'); | 160 | $path = UserModel::getCenterCrumb('退货/换货'); |
161 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 161 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
162 | $data = array( | 162 | $data = array( |
163 | - 'path'=>$path, | ||
164 | - 'homeNav'=>$leftNav, | 163 | + 'path' => $path, |
164 | + 'homeNav' => $leftNav, | ||
165 | 'userThumb' => UserModel::getUserHeadImg($uid), | 165 | 'userThumb' => UserModel::getUserHeadImg($uid), |
166 | - 'detail'=>$detail | 166 | + 'detail' => $detail |
167 | ); | 167 | ); |
168 | 168 | ||
169 | return $data; | 169 | return $data; |
@@ -184,7 +184,7 @@ class ReturnsModel | @@ -184,7 +184,7 @@ class ReturnsModel | ||
184 | $cnAlphabet = $value['cn_alphabet']; | 184 | $cnAlphabet = $value['cn_alphabet']; |
185 | } | 185 | } |
186 | $result[$key]['href'] = Helpers::getUrlBySkc($value['product_id'], $value['goods_id'], $cnAlphabet); | 186 | $result[$key]['href'] = Helpers::getUrlBySkc($value['product_id'], $value['goods_id'], $cnAlphabet); |
187 | - $result[$key]['thumb'] = Helpers::getImageUrl($value['goods_image'],60,60); | 187 | + $result[$key]['thumb'] = Helpers::getImageUrl($value['goods_image'], 60, 60); |
188 | $result[$key]['name'] = $value['product_name']; | 188 | $result[$key]['name'] = $value['product_name']; |
189 | $result[$key]['color'] = $value['color_name']; | 189 | $result[$key]['color'] = $value['color_name']; |
190 | $result[$key]['size'] = $value['size_name']; | 190 | $result[$key]['size'] = $value['size_name']; |
@@ -241,7 +241,7 @@ class ReturnsModel | @@ -241,7 +241,7 @@ class ReturnsModel | ||
241 | $expressList = ReturnsData::getExpressCompany(); | 241 | $expressList = ReturnsData::getExpressCompany(); |
242 | if (isset($expressList['code']) && $expressList['code'] == 200) { | 242 | if (isset($expressList['code']) && $expressList['code'] == 200) { |
243 | $result = array_values($expressList['data']); | 243 | $result = array_values($expressList['data']); |
244 | - foreach($result as $key=>$value){ | 244 | + foreach ($result as $key => $value) { |
245 | $res = array_merge_recursive($res, $value); | 245 | $res = array_merge_recursive($res, $value); |
246 | } | 246 | } |
247 | } | 247 | } |
@@ -260,9 +260,9 @@ class ReturnsModel | @@ -260,9 +260,9 @@ class ReturnsModel | ||
260 | * @param $isChange | 260 | * @param $isChange |
261 | * @return mixed | 261 | * @return mixed |
262 | */ | 262 | */ |
263 | - public static function setExpressNumber($id, $expressId, $expressNumber,$uid, $expressCompany, $isChange) | 263 | + public static function setExpressNumber($id, $expressId, $expressNumber, $uid, $expressCompany, $isChange) |
264 | { | 264 | { |
265 | - $data = ReturnsData::setExpressNumber($id, $expressId, $expressNumber,$uid, $expressCompany, $isChange); | 265 | + $data = ReturnsData::setExpressNumber($id, $expressId, $expressNumber, $uid, $expressCompany, $isChange); |
266 | return $data; | 266 | return $data; |
267 | } | 267 | } |
268 | 268 | ||
@@ -282,13 +282,13 @@ class ReturnsModel | @@ -282,13 +282,13 @@ class ReturnsModel | ||
282 | //调用接口成功,封装数据 | 282 | //调用接口成功,封装数据 |
283 | if (isset($data['code']) && $data['code'] == 200 && isset($data['data']['goods_list']) && !empty($data['data']['goods_list'])) { | 283 | if (isset($data['code']) && $data['code'] == 200 && isset($data['data']['goods_list']) && !empty($data['data']['goods_list'])) { |
284 | $amount = ''; | 284 | $amount = ''; |
285 | - foreach($data['data']['goods_list'] as $key=>$value){ | 285 | + foreach ($data['data']['goods_list'] as $key => $value) { |
286 | $cnAlphabet = ''; | 286 | $cnAlphabet = ''; |
287 | if (!empty($value['cn_alphabet'])) { | 287 | if (!empty($value['cn_alphabet'])) { |
288 | $cnAlphabet = $value['cn_alphabet']; | 288 | $cnAlphabet = $value['cn_alphabet']; |
289 | } | 289 | } |
290 | $result['goods'][$key]['href'] = Helpers::getUrlBySkc($value['product_id'], $value['goods_id'], $cnAlphabet); | 290 | $result['goods'][$key]['href'] = Helpers::getUrlBySkc($value['product_id'], $value['goods_id'], $cnAlphabet); |
291 | - $result['goods'][$key]['thumb'] = Helpers::getImageUrl($value['goods_image'],60,60); | 291 | + $result['goods'][$key]['thumb'] = Helpers::getImageUrl($value['goods_image'], 60, 60); |
292 | $result['goods'][$key]['name'] = $value['product_name']; | 292 | $result['goods'][$key]['name'] = $value['product_name']; |
293 | $result['goods'][$key]['color'] = $value['color_name']; | 293 | $result['goods'][$key]['color'] = $value['color_name']; |
294 | $result['goods'][$key]['size'] = $value['size_name']; | 294 | $result['goods'][$key]['size'] = $value['size_name']; |
@@ -311,7 +311,7 @@ class ReturnsModel | @@ -311,7 +311,7 @@ class ReturnsModel | ||
311 | $result['yohoCoin'] = $data['data']['yoho_coin_num']; | 311 | $result['yohoCoin'] = $data['data']['yoho_coin_num']; |
312 | $result['coupon'] = $data['data']['coupon_amount']; | 312 | $result['coupon'] = $data['data']['coupon_amount']; |
313 | $result['cash'] = $amount; | 313 | $result['cash'] = $amount; |
314 | - foreach($data['data']['return_amount_mode'] as &$value){ | 314 | + foreach ($data['data']['return_amount_mode'] as &$value) { |
315 | if ($value['is_default'] == 'Y') { | 315 | if ($value['is_default'] == 'Y') { |
316 | $value['default'] = true; | 316 | $value['default'] = true; |
317 | } | 317 | } |
@@ -324,8 +324,8 @@ class ReturnsModel | @@ -324,8 +324,8 @@ class ReturnsModel | ||
324 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 324 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
325 | $pager = array(); | 325 | $pager = array(); |
326 | $data = array( | 326 | $data = array( |
327 | - 'path'=>$path, | ||
328 | - 'homeNav'=>$leftNav, | 327 | + 'path' => $path, |
328 | + 'homeNav' => $leftNav, | ||
329 | 'refund' => $result, | 329 | 'refund' => $result, |
330 | 'pager' => $pager | 330 | 'pager' => $pager |
331 | ); | 331 | ); |
@@ -349,13 +349,13 @@ class ReturnsModel | @@ -349,13 +349,13 @@ class ReturnsModel | ||
349 | $productSkn = array(); | 349 | $productSkn = array(); |
350 | //数据获取成功,封装数据 | 350 | //数据获取成功,封装数据 |
351 | if (isset($data['code']) && $data['code'] == 200 && isset($data['data']) && !empty($data['data'])) { | 351 | if (isset($data['code']) && $data['code'] == 200 && isset($data['data']) && !empty($data['data'])) { |
352 | - foreach ($data['data']['goods_list'] as $key=>$value) { | 352 | + foreach ($data['data']['goods_list'] as $key => $value) { |
353 | $cnAlphabet = ''; | 353 | $cnAlphabet = ''; |
354 | if (!empty($value['cn_alphabet'])) { | 354 | if (!empty($value['cn_alphabet'])) { |
355 | $cnAlphabet = $value['cn_alphabet']; | 355 | $cnAlphabet = $value['cn_alphabet']; |
356 | } | 356 | } |
357 | $result['goods'][$key]['href'] = Helpers::getUrlBySkc($value['product_id'], $value['goods_id'], $cnAlphabet); | 357 | $result['goods'][$key]['href'] = Helpers::getUrlBySkc($value['product_id'], $value['goods_id'], $cnAlphabet); |
358 | - $result['goods'][$key]['thumb'] = Helpers::getImageUrl($value['goods_image'],60,60); | 358 | + $result['goods'][$key]['thumb'] = Helpers::getImageUrl($value['goods_image'], 60, 60); |
359 | $result['goods'][$key]['name'] = $value['product_name']; | 359 | $result['goods'][$key]['name'] = $value['product_name']; |
360 | $result['goods'][$key]['color'] = $value['color_name']; | 360 | $result['goods'][$key]['color'] = $value['color_name']; |
361 | $result['goods'][$key]['size'] = $value['size_name']; | 361 | $result['goods'][$key]['size'] = $value['size_name']; |
@@ -377,6 +377,16 @@ class ReturnsModel | @@ -377,6 +377,16 @@ class ReturnsModel | ||
377 | $productSkn[] += $value['product_skn']; | 377 | $productSkn[] += $value['product_skn']; |
378 | } | 378 | } |
379 | $result['reason'] = $data['data']['exchange_reason']; | 379 | $result['reason'] = $data['data']['exchange_reason']; |
380 | + | ||
381 | + // tar note 对数组做处理,为不显示的添加 inactive | ||
382 | + if (isset($data['data']['special_exchange_reason'])) { | ||
383 | + foreach ($result['reason'] as $key => $item) { | ||
384 | + if (!in_array($item, $data['data']['special_exchange_reason'])) { | ||
385 | + $result['reason'][$key]['inactive'] = true; | ||
386 | + } | ||
387 | + } | ||
388 | + } | ||
389 | + | ||
380 | $result['orderCode'] = $orderCode; | 390 | $result['orderCode'] = $orderCode; |
381 | 391 | ||
382 | //换货地址相关数据(邮编为可空参数) | 392 | //换货地址相关数据(邮编为可空参数) |
@@ -399,8 +409,8 @@ class ReturnsModel | @@ -399,8 +409,8 @@ class ReturnsModel | ||
399 | 409 | ||
400 | foreach ($product as $key => $value) {//遍历得到每件商品 | 410 | foreach ($product as $key => $value) {//遍历得到每件商品 |
401 | $num = '0';//初始化每件商品的库存为0 | 411 | $num = '0';//初始化每件商品的库存为0 |
402 | - foreach ($value['goods_list'] as $k=>$v) {//遍历商品得到每个颜色 | ||
403 | - foreach ($v['size_list'] as $k1=>$v1) {//遍历颜色得到每个尺码 | 412 | + foreach ($value['goods_list'] as $k => $v) {//遍历商品得到每个颜色 |
413 | + foreach ($v['size_list'] as $k1 => $v1) {//遍历颜色得到每个尺码 | ||
404 | $num += $v1['storage_number'];//将商品颜色对应尺码下的每个商品的库存相加 | 414 | $num += $v1['storage_number'];//将商品颜色对应尺码下的每个商品的库存相加 |
405 | if ($v1['storage_number'] > 0) {//当某个尺码下有库存时,将该颜色及其对应的尺码加入该商品选项下 | 415 | if ($v1['storage_number'] > 0) {//当某个尺码下有库存时,将该颜色及其对应的尺码加入该商品选项下 |
406 | $result['goods'][$key]['colorSize'][$k]['color'] = $v['color_name']; | 416 | $result['goods'][$key]['colorSize'][$k]['color'] = $v['color_name']; |
@@ -418,14 +428,14 @@ class ReturnsModel | @@ -418,14 +428,14 @@ class ReturnsModel | ||
418 | $result['goods'][$key]['banMsg'] = '库存不足不能换货'; | 428 | $result['goods'][$key]['banMsg'] = '库存不足不能换货'; |
419 | } | 429 | } |
420 | } | 430 | } |
421 | - | 431 | + |
422 | //面包屑-左侧导航 | 432 | //面包屑-左侧导航 |
423 | $path = UserModel::getCenterCrumb('退货/换货'); | 433 | $path = UserModel::getCenterCrumb('退货/换货'); |
424 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 434 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
425 | $pager = array(); | 435 | $pager = array(); |
426 | $data = array( | 436 | $data = array( |
427 | - 'path'=>$path, | ||
428 | - 'homeNav'=>$leftNav, | 437 | + 'path' => $path, |
438 | + 'homeNav' => $leftNav, | ||
429 | 'exchange' => $result, | 439 | 'exchange' => $result, |
430 | 'pager' => $pager | 440 | 'pager' => $pager |
431 | ); | 441 | ); |
@@ -441,7 +451,7 @@ class ReturnsModel | @@ -441,7 +451,7 @@ class ReturnsModel | ||
441 | */ | 451 | */ |
442 | public static function getSizeList($sizeList) | 452 | public static function getSizeList($sizeList) |
443 | { | 453 | { |
444 | - foreach ($sizeList as $key=>$value) { | 454 | + foreach ($sizeList as $key => $value) { |
445 | if ($value['storage_number'] <= 0) { | 455 | if ($value['storage_number'] <= 0) { |
446 | unset($sizeList[$key]); | 456 | unset($sizeList[$key]); |
447 | } | 457 | } |
@@ -504,7 +514,7 @@ class ReturnsModel | @@ -504,7 +514,7 @@ class ReturnsModel | ||
504 | //调取接口查询订单详情 | 514 | //调取接口查询订单详情 |
505 | $order = OrderData::viewOrderData($orderCode, $uid, ''); | 515 | $order = OrderData::viewOrderData($orderCode, $uid, ''); |
506 | if (empty($order)) { | 516 | if (empty($order)) { |
507 | - return array('code'=>403,'message'=>'没有找到该订单'); | 517 | + return array('code' => 403, 'message' => '没有找到该订单'); |
508 | } | 518 | } |
509 | // //订单7天后不能退款 | 519 | // //订单7天后不能退款 |
510 | // if (isset($order['code']) && $order['code'] == 200) { | 520 | // if (isset($order['code']) && $order['code'] == 200) { |
@@ -544,7 +554,7 @@ class ReturnsModel | @@ -544,7 +554,7 @@ class ReturnsModel | ||
544 | //调取接口查询订单详情 | 554 | //调取接口查询订单详情 |
545 | $order = OrderData::viewOrderData($orderCode, $uid, ''); | 555 | $order = OrderData::viewOrderData($orderCode, $uid, ''); |
546 | if (empty($order)) { | 556 | if (empty($order)) { |
547 | - return array('code'=>403,'message'=>'没有找到该订单'); | 557 | + return array('code' => 403, 'message' => '没有找到该订单'); |
548 | } | 558 | } |
549 | // //订单15天后不能换货 | 559 | // //订单15天后不能换货 |
550 | // if (isset($order['code']) && $order['code'] == 200) { | 560 | // if (isset($order['code']) && $order['code'] == 200) { |
@@ -579,8 +589,8 @@ class ReturnsModel | @@ -579,8 +589,8 @@ class ReturnsModel | ||
579 | $path = UserModel::getCenterCrumb('退货/换货'); | 589 | $path = UserModel::getCenterCrumb('退货/换货'); |
580 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 590 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
581 | $data = array( | 591 | $data = array( |
582 | - 'path'=>$path, | ||
583 | - 'homeNav'=>$leftNav, | 592 | + 'path' => $path, |
593 | + 'homeNav' => $leftNav, | ||
584 | 'save' => array( | 594 | 'save' => array( |
585 | 'type' => '退货', | 595 | 'type' => '退货', |
586 | 'ordersHref' => Helpers::url('/home/orders'), | 596 | 'ordersHref' => Helpers::url('/home/orders'), |
@@ -609,8 +619,8 @@ class ReturnsModel | @@ -609,8 +619,8 @@ class ReturnsModel | ||
609 | $path = UserModel::getCenterCrumb('退货/换货'); | 619 | $path = UserModel::getCenterCrumb('退货/换货'); |
610 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); | 620 | $leftNav = UserModel::getCenterLeftNav('我的退/换货', $uid); |
611 | $data = array( | 621 | $data = array( |
612 | - 'path'=>$path, | ||
613 | - 'homeNav'=>$leftNav, | 622 | + 'path' => $path, |
623 | + 'homeNav' => $leftNav, | ||
614 | 'save' => array( | 624 | 'save' => array( |
615 | 'type' => '换货', | 625 | 'type' => '换货', |
616 | 'ordersHref' => Helpers::url('/home/orders'), | 626 | 'ordersHref' => Helpers::url('/home/orders'), |
-
Please register or login to post a comment