diff --git a/app/admin/view/Goods/goods_edit.html b/app/admin/view/Goods/goods_edit.html
index b39efcb..440ae8c 100755
--- a/app/admin/view/Goods/goods_edit.html
+++ b/app/admin/view/Goods/goods_edit.html
@@ -454,7 +454,7 @@
$(".integral_is").hide();
$(".show_is").hide();
$(".sale_time").hide();
- $("#div_daily_xiangou").hide();
+ $("#div_daily_xiangou").show();
$(".rage_is").hide();
$(".rage").hide();
diff --git a/app/api/controller/Config.php b/app/api/controller/Config.php
index 98beefa..0694284 100755
--- a/app/api/controller/Config.php
+++ b/app/api/controller/Config.php
@@ -26,7 +26,7 @@ class Config extends Base
return $this->renderSuccess('获取成功', [
'good_type' => $goodsTypeList,
'app_setting' => $app_setting,
- 'version' => '105'
+ 'version' => '106'
]);
}
diff --git a/app/api/controller/Index.php b/app/api/controller/Index.php
index c1568e3..9293389 100755
--- a/app/api/controller/Index.php
+++ b/app/api/controller/Index.php
@@ -36,11 +36,11 @@ class Index extends Base
if ($advert_value['goods_id']) {
$goods = Goods::where('id', '=', $advert_value['goods_id'])->find();
$status = $goods['status'];
- if (!$goods || $status != 1) {
- // 商品不存在或已下架或卖完,不显示此推荐位
- // unset($tuijian[$key]);
- continue;
- }
+ // if (!$goods || $status == 2) {
+ // // 商品不存在或已下架或卖完,不显示此推荐位
+ // // unset($tuijian[$key]);
+ // continue;
+ // }
$tuijian_list[] = $advert_value;
}
}