Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ac5adac3e |
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.0.44] - 2026-06-15
|
||||||
|
|
||||||
|
### 改进
|
||||||
|
- 微信分享卡片标题改为商品名称(之前仍显示"岩美")
|
||||||
|
- 微信分享卡片描述去掉"扫码验真"后缀
|
||||||
|
|
||||||
## [1.0.43] - 2026-06-15
|
## [1.0.43] - 2026-06-15
|
||||||
|
|
||||||
### 修复
|
### 修复
|
||||||
|
|||||||
@@ -340,9 +340,9 @@ func buildOGTitle(product model.Product) string {
|
|||||||
func buildProductOG(product model.Product, shopName, publicURL string) string {
|
func buildProductOG(product model.Product, shopName, publicURL string) string {
|
||||||
title := buildOGTitle(product)
|
title := buildOGTitle(product)
|
||||||
|
|
||||||
// og:description:规格(度数/香型/容量)| 门店名正品 · 扫码验真
|
// og:description:规格(度数/香型/容量)| 门店名正品
|
||||||
desc := product.Spec
|
desc := product.Spec
|
||||||
suffix := "正品 · 扫码验真"
|
suffix := "正品"
|
||||||
if shopName != "" {
|
if shopName != "" {
|
||||||
suffix = shopName + suffix
|
suffix = shopName + suffix
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user