diff --git a/app/admin/logic/setting/BasicLogic.php b/app/admin/logic/setting/BasicLogic.php index 0c098707..3f8bdec2 100755 --- a/app/admin/logic/setting/BasicLogic.php +++ b/app/admin/logic/setting/BasicLogic.php @@ -24,6 +24,7 @@ class BasicLogic extends Logic { $config = [ 'file_url' => UrlServer::getFileUrl('/'), + 'platform_shop_note' => ConfigServer::get('website', 'platform_shop_note'), 'name' => ConfigServer::get('website', 'name'), 'mini_notice' => ConfigServer::get('website', 'mini_notice'), 'show_mini_notice' => ConfigServer::get('website', 'show_mini_notice'), @@ -70,6 +71,7 @@ class BasicLogic extends Logic */ public static function setWebsiteBasic($post) { + ConfigServer::set('website', 'platform_shop_note', $post['platform_shop_note']); ConfigServer::set('website', 'name', $post['name']); ConfigServer::set('website', 'mini_notice', $post['mini_notice']); ConfigServer::set('website', 'show_mini_notice', $post['show_mini_notice']); diff --git a/app/admin/view/setting/basic/website_base.html b/app/admin/view/setting/basic/website_base.html index 8becdef7..e2b6e7cd 100755 --- a/app/admin/view/setting/basic/website_base.html +++ b/app/admin/view/setting/basic/website_base.html @@ -11,7 +11,20 @@ - + + +
+ +
+
+
+ +
+
+
+
+
diff --git a/app/api/logic/GoodsLogic.php b/app/api/logic/GoodsLogic.php index 5ba70a03..38134ec6 100755 --- a/app/api/logic/GoodsLogic.php +++ b/app/api/logic/GoodsLogic.php @@ -346,6 +346,8 @@ class GoodsLogic extends Logic // 虚拟浏览量 $goodsDetailArr['clicks'] += $goodsDetailArr['clicks_virtual']; + $goodsDetailArr['platform_shop_note']= ConfigServer::get('website', 'platform_shop_note');//平台商品备注 + // 记录访问足迹 event('Footprint', [ 'type' => FootprintEnum::BROWSE_GOODS,