功能:完善门店能力与用户安全配置
This commit is contained in:
@@ -19,7 +19,8 @@ async function buildProductCard(product) {
|
||||
...product,
|
||||
displayTitle: getProductTitle(product),
|
||||
priceText: `¥${formatPrice(product && product.price)}`,
|
||||
metaText: (product && (product.approximateDuration || product.shopName)) || '支持预约',
|
||||
metaText: (product && product.approximateDuration) || '支持预约',
|
||||
shopNameText: product && product.shopName ? `所属店铺:${product.shopName}` : '',
|
||||
coverUrl: images[0],
|
||||
imageUrls: images,
|
||||
tagsPreview: getProductTags(product),
|
||||
|
||||
@@ -36,6 +36,7 @@ function isWhitelistedPath(url) {
|
||||
'/user/phone-login',
|
||||
'/user/wechat-mini/',
|
||||
'/user/reset-password-by-phone',
|
||||
'/legal-agreement/current',
|
||||
'/product/get/',
|
||||
'/product/list/',
|
||||
'/comment/list/product/',
|
||||
|
||||
Reference in New Issue
Block a user