diff --git a/application/index/view/default/cart/index.html b/application/index/view/default/cart/index.html
index e244a4755511f3ceed26c703a18312a6da335dd5..691ae32b523e5f66d5dee7b17dacf7f1b658d74e 100755
--- a/application/index/view/default/cart/index.html
+++ b/application/index/view/default/cart/index.html
@@ -116,7 +116,7 @@
-
看看
- 我的收藏夹
+ 我的收藏夹
-
看看
diff --git a/application/service/GoodsBrowseService.php b/application/service/GoodsBrowseService.php
index 56afbfdd4637dfba096706f6bb0a2f1081900a73..9e702fb9bb7dfb348852ece030c8dcb4c6d2e839 100644
--- a/application/service/GoodsBrowseService.php
+++ b/application/service/GoodsBrowseService.php
@@ -13,6 +13,7 @@ namespace app\service;
use think\Db;
use app\service\ResourcesService;
use app\service\UserService;
+use app\service\GoodsService;
/**
* 商品浏览服务层
@@ -151,6 +152,12 @@ class GoodsBrowseService
}
}
+ // 无封面图片
+ if(empty($v['images']))
+ {
+ $v['images'] = ResourcesService::AttachmentPathHandle(GoodsService::GoodsImagesCoverHandle($v['goods_id']));
+ }
+
// 商品信息
$v['images_old'] = $v['images'];
$v['images'] = ResourcesService::AttachmentPathViewHandle($v['images']);
diff --git a/application/service/GoodsFavorService.php b/application/service/GoodsFavorService.php
index dff99332b06dd84c4168e7ab4a31f3f01f8a72ab..0b85acf75862e8783c15ca80725bd00b7ad83464 100644
--- a/application/service/GoodsFavorService.php
+++ b/application/service/GoodsFavorService.php
@@ -13,6 +13,7 @@ namespace app\service;
use think\Db;
use app\service\ResourcesService;
use app\service\UserService;
+use app\service\GoodsService;
/**
* 商品收藏服务层
@@ -214,6 +215,12 @@ class GoodsFavorService
}
}
+ // 无封面图片
+ if(empty($v['images']))
+ {
+ $v['images'] = ResourcesService::AttachmentPathHandle(GoodsService::GoodsImagesCoverHandle($v['goods_id']));
+ }
+
// 商品信息
$v['images_old'] = $v['images'];
$v['images'] = ResourcesService::AttachmentPathViewHandle($v['images']);
diff --git a/application/service/NavigationService.php b/application/service/NavigationService.php
index 7684c73136a73b3fb9ce7f627b04a7666ac97b89..c13e871d227914961a3e45523a4d6d0194acd369 100755
--- a/application/service/NavigationService.php
+++ b/application/service/NavigationService.php
@@ -1054,7 +1054,7 @@ class NavigationService
[
'name' => '商品收藏',
'value' => $user_goods_favor_count,
- 'url' => MyUrl('index/userfavor/goods'),
+ 'url' => MyUrl('index/usergoodsfavor/index'),
],
[
'name' => '我的足迹',