Authored by 毕凯

Merge branch 'release/4.8'

@@ -531,10 +531,7 @@ class CartData @@ -531,10 +531,7 @@ class CartData
531 $param['orderCode'] = $orderCode; 531 $param['orderCode'] = $orderCode;
532 $param['payment'] = $payment; 532 $param['payment'] = $payment;
533 $param['client_secret'] = Sign::getSign($param); 533 $param['client_secret'] = Sign::getSign($param);
534 -<<<<<<< HEAD  
535 - return Yohobuy::get(Yohobuy::API_URL, $param);  
536 -======= 534 +
537 return Yohobuy::get(API_URL, $param); 535 return Yohobuy::get(API_URL, $param);
538 ->>>>>>> master  
539 } 536 }
540 } 537 }
@@ -397,15 +397,9 @@ class ShopModel @@ -397,15 +397,9 @@ class ShopModel
397 Helpers::substrEllipsis($resource['enName'], 5) : Helpers::substrEllipsis($resource['enName'], 10), 397 Helpers::substrEllipsis($resource['enName'], 5) : Helpers::substrEllipsis($resource['enName'], 10),
398 'name' => Helpers::isChinese($resource['name']) ? 398 'name' => Helpers::isChinese($resource['name']) ?
399 Helpers::substrEllipsis($resource['name'], 5) : Helpers::substrEllipsis($resource['name'], 6), 399 Helpers::substrEllipsis($resource['name'], 5) : Helpers::substrEllipsis($resource['name'], 6),
400 -<<<<<<< HEAD  
401 - 'img' => self::imageView2($resource['src'], 50, 50),  
402 - 'title' => $resource['title'],  
403 - 'url' => $resource['url'],  
404 -=======  
405 'img'=> self::imageView2($resource['src'], 50, 50), 400 'img'=> self::imageView2($resource['src'], 50, 50),
406 'title'=> $resource['title'], 401 'title'=> $resource['title'],
407 'url'=> Helpers::getUrlSafe($resource['url']), 402 'url'=> Helpers::getUrlSafe($resource['url']),
408 ->>>>>>> master  
409 ); 403 );
410 } 404 }
411 if (empty($result)) { 405 if (empty($result)) {
@@ -459,13 +453,8 @@ class ShopModel @@ -459,13 +453,8 @@ class ShopModel
459 453
460 foreach ($resource['data'] as $val) { 454 foreach ($resource['data'] as $val) {
461 $result[] = array( 455 $result[] = array(
462 -<<<<<<< HEAD  
463 - 'img' => self::imageView2($val['src'], 160, 240),  
464 - 'url' => $val['url'],  
465 -=======  
466 'img'=> self::imageView2($val['src'], 160, 240), 456 'img'=> self::imageView2($val['src'], 160, 240),
467 'url'=> Helpers::getUrlSafe($val['url']), 457 'url'=> Helpers::getUrlSafe($val['url']),
468 ->>>>>>> master  
469 ); 458 );
470 } 459 }
471 } 460 }