|
|
@@ -185,7 +185,6 @@ class GoodsService extends BaseService
|
|
|
$info['cost_price'] = moneyFormat($info['cost_price']/$usdtPrice * $xdPrice,2);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
if(isset($info['sku_list']) && $info['sku_list']){
|
|
|
foreach ($info['sku_list'] as &$v){
|
|
|
$v['detail_img'] = $v['detail_img']? json_decode($v['detail_img'], true) : [];
|
|
|
@@ -204,6 +203,11 @@ class GoodsService extends BaseService
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public function getDeliveryFee($userId, $addressId)
|
|
|
+ {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 更新浏览量
|
|
|
* @param $userId
|
|
|
@@ -317,7 +321,7 @@ class GoodsService extends BaseService
|
|
|
* @param $params 参数
|
|
|
* @return array|false
|
|
|
*/
|
|
|
- public function updateGoods($pageSize = 50, $params = [])
|
|
|
+ public function updateGoods($pageSize = 100, $params = [])
|
|
|
{
|
|
|
set_time_limit(0);
|
|
|
$cacheKey = "caches:supply:goods_list_update_{$pageSize}";
|