diff --git a/application/index/view/default/cart/index.html b/application/index/view/default/cart/index.html
index e244a4755..691ae32b5 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 56afbfdd4..9e702fb9b 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 dff99332b..0b85acf75 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 7684c7313..c13e871d2 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' => '我的足迹',