|
|
@ -52,8 +52,7 @@ class Goods extends GoodsService |
|
|
|
|
|
|
|
|
|
|
|
public function getCommonConfig() |
|
|
|
public function getCommonConfig() |
|
|
|
{ |
|
|
|
{ |
|
|
|
//todo wmc1新品首发背景图 2限时秒杀背景图 3排行榜背景图 4大牌正品是轮播 |
|
|
|
//todo wmc1新品首发背景图 2限时秒杀背景图 3排行榜背景图 4大牌正品是轮播 5预售规则 |
|
|
|
|
|
|
|
|
|
|
|
switch (request()->get('type')) { |
|
|
|
switch (request()->get('type')) { |
|
|
|
case 1: |
|
|
|
case 1: |
|
|
|
$data['imgurl'] = 'https://www.saas.njrenzhou.com/uploads/10001/20240131/bdc5f17f3ff8c53ce0853177bc4f1917.png'; |
|
|
|
$data['imgurl'] = 'https://www.saas.njrenzhou.com/uploads/10001/20240131/bdc5f17f3ff8c53ce0853177bc4f1917.png'; |
|
|
@ -73,6 +72,12 @@ class Goods extends GoodsService |
|
|
|
]; |
|
|
|
]; |
|
|
|
return $data; |
|
|
|
return $data; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 5: |
|
|
|
|
|
|
|
$data['imgurl'] = [ |
|
|
|
|
|
|
|
'http://qiniu.shop.royaum.com.cn/10001/20240201/13f2e675794e25176352fc039dfb6dcb.jpg', |
|
|
|
|
|
|
|
]; |
|
|
|
|
|
|
|
return $data; |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
return []; |
|
|
|
return []; |
|
|
|
} |
|
|
|
} |
|
|
|