Pārlūkot izejas kodu

chore: Update doc

Basil 3 gadi atpakaļ
vecāks
revīzija
777653c275

+ 1 - 1
.env.development

@@ -1 +1 @@
1
-VITE_GLOB_API_URL = 'https://test.bjtdba.com'
1
+VITE_GLOB_API_URL = 'https://app.bjtdba.com'

+ 27 - 31
README.md

@@ -20,28 +20,28 @@ pnpm build:mp-weixin
20 20
 > 构建后,将生成 `dist/build/mp-wexin` 目录,在微信开发工具导入此目录,测试后提交发布即可
21 21
 
22 22
 ## 小程序功能清单
23
-- [ ] 首页
23
+- [x] 首页
24 24
   - [x] 签到(签到得积分)
25 25
   - [x] 搜索 `/pages/search/index`
26 26
   - [x] 城中大仓
27 27
   - [x] 限时秒杀
28 28
   - [x] 京东 `跳转至京东小程序`
29 29
   - [x] 滋补养生(动态数据请求) `/api/common/home_quick_link`,
30
-  - [ ] 拼多多
30
+  - [x] 拼多多
31 31
     - [x] 商品展示
32
-    - [ ] 小程序跳转
33
-  - [ ] 淘宝
32
+    - [x] 小程序跳转
33
+  - [x] 淘宝
34 34
     - [x] 商品购买跳转
35
-  - [ ] 抖音
36
-    - [ ] 抖音商品列表
35
+  - [x] 抖音
36
+    - [x] 抖音商品列表
37 37
     - [x] 抖音直播间
38
-  - [ ] 唯品会
38
+  - [x] 唯品会
39 39
     - [x] 唯品会内容列表
40
-    - [ ] 唯品会商品跳转
41
-  - [ ] 苏宁
40
+    - [x] 唯品会商品跳转
41
+  - [x] 苏宁
42 42
     - [x] 苏宁商品列表
43
-    - [ ] 苏宁商品跳转
44
-  - [ ] 消息
43
+    - [x] 苏宁商品跳转
44
+  - [x] 消息
45 45
   - [x] 限时秒杀
46 46
   - [x] 积分通兑 `/pages/product/integral`
47 47
   - [x] 老年、学生、会员、惠民
@@ -54,16 +54,15 @@ pnpm build:mp-weixin
54 54
 
55 55
 - [x] 大仓 `/pages/dacang/list/index`
56 56
 
57
-- [ ] 购物车 `/pages/order_addcart/index`
57
+- [x] 购物车 `/pages/order_addcart/index`
58 58
   - [x] 列表
59
-  - [ ] 结算
60
-    - [ ] 地址管理
59
+  - [x] 结算
60
+    - [x] 地址管理
61 61
 
62
-- [ ] 我的
62
+- [x] 我的
63 63
   - [x] 用户
64 64
   - [x] 个人资料
65 65
   - [x] 养老金 `/pages/annuity/index`
66
-    - [ ] 支付平台绑定 `/pages/third_party_binding/index`
67 66
     - [x] 养老金账户(我的养老金) `/pages/pension_account/index`
68 67
     - [x] 养老金记录 `/pages/pension_record/index`
69 68
       - [x] 电商平台养老金明细 `/pages/pension_choice_platform/index`
@@ -83,13 +82,13 @@ pnpm build:mp-weixin
83 82
     - [x] 积分明细 `/pages/my-integral/detail`
84 83
     - [x] 积分任务
85 84
       - [x] 每日签到 - 去签到
86
-      - [ ] 邀请好友得积分 - 去邀请
87
-        - [ ] 海报
88
-  - [ ] 红积分提现
85
+      - [x] 邀请好友得积分 - 去邀请
86
+        - [x] 海报
87
+  - [x] 红积分提现
89 88
     - [x] 复购增加红积分
90
-    - [ ] 提现
89
+    - [x] 提现
91 90
       - [x] 提现页
92
-      - [ ] 接口验证
91
+      - [x] 接口验证
93 92
   - [x] 团队人数
94 93
   - [x] 我的订单 - 查看全部 `/pages/order/index`
95 94
     - [x] 待付款
@@ -108,26 +107,23 @@ pnpm build:mp-weixin
108 107
   - [x] 我的评价 `/pages/my-reply/index`
109 108
   - [x] 邀请好友 `/pages/invite-friends/index`
110 109
   - [x] 商铺入驻 (小程序跳转)
111
-  - [ ] 帮扶中心 `/pages/bangfuzhongxin/index`
110
+  - [x] 帮扶中心 `/pages/bangfuzhongxin/index`
112 111
     - [ ] 立即升级(待测试)
113 112
   - [x] 设置
114 113
     - [x] 反馈回复 `/pages/feedback/index`
115 114
     - [x] 关于我们 `/pages/user/about/index`
116
-    - [ ] 版本更新 `/pages/version-update/index`
117
-    - [ ] 实名认证 (接口待对接)
115
+    - [x] 版本更新 `/pages/version-update/index`
116
+    - [x] 实名认证
118 117
       - `/pages/real-name-authentication/index` 未实名
119 118
       - `/pages/already-realname/index` 已实名
120
-    - [ ] 三方账号绑定 `/pages/third_party_binding/index`
121
-      - [ ] 微信授权
122
-      - [ ] 支付宝授权(无法实现)
119
+    - [x] 三方账号绑定 `/pages/third_party_binding/index`
120
+      - [x] 微信授权
121
+      - [x] 支付宝授权(无法实现)
123 122
     - [ ] 个性化选项 `/pages/personalization-options/index`(接口未对接)
124 123
     - [x] 服务协议 `/pages/webview/agreement?type=2`
125 124
     - [x] 隐私协议 `/pages/webview/agreement?type=1`
126
-    - [ ] 账号注销 (接口未对接)
125
+    - [x] 账号注销
127 126
     - [x] 退出登录
128 127
 
129 128
 
130
-登录 退出 商品展示 、购买、收益
131
-
132
-
133 129
 ciyid 要传,不然出现请选择正确地址异常

+ 4 - 2
src/components/ProductCard/ProductCard.vue

@@ -40,9 +40,11 @@ function handleClick() {
40 40
     <image :src="item.thumb" mode="widthFix" :fade-in="true" class="rounded-t-lg  !w-full aspect-square" v-if="item.type == 6"></image>
41 41
 
42 42
     <div class="text-sm p-2 flex flex-col gap-1">
43
-      <div v-if="item.type == 5" class="line-clamp-2" v-html="item.store_name">
43
+      <div v-if="item.type == 5" class="line-clamp-2">
44
+        {{ item.store_name }}
44 45
       </div>
45
-      <div v-if="item.type == 6" class="line-clamp-2" v-html="item.name">
46
+      <div v-if="item.type == 6" class="line-clamp-2">
47
+        {{ item.name }}
46 48
       </div>
47 49
       <div class="border border-solid border-1 border-red rounded flex text-xs items-center text-[#FE0032] w-fit">
48 50
         <image src="https://cdn.bjtdba.com/vod/image/2023-09-15/20230915160858609.png"

+ 91 - 8
src/pages/my-rules/index.vue

@@ -16,9 +16,78 @@ const ruleDetail = ref<{
16 16
   title: string
17 17
 }>()
18 18
 
19
+const currentType = ref<any>([])
20
+
19 21
 const showUpgradeInfo = ref(false)
20 22
 const userType = computed(() => {
21 23
   const userRichType = userStore.userInfo?.user_rich_type
24
+  // console.log(userStore.userInfo)
25
+  const bangfu = userStore.userInfo?.is_bangfu ? '帮扶中心 ' : ''
26
+  // 创始人
27
+  if (userRichType == 3) {
28
+    if (bangfu) {
29
+      return ['创始人', bangfu]
30
+    }
31
+    return ['创始人']
32
+    // return [].push()
33
+  }
34
+  // 普通用户
35
+  if (userRichType == 0) {
36
+    if (bangfu) {
37
+      return ['用户', bangfu]
38
+    }
39
+    return ['用户']
40
+  }
41
+  // 会员
42
+  if (userRichType == 1) {
43
+    if (bangfu) {
44
+      return ['会员', bangfu]
45
+    }
46
+    return ['会员']
47
+
48
+  }
49
+  if (userRichType == 3) {
50
+    if (bangfu) {
51
+      return ['创始人', bangfu]
52
+    }
53
+    return ['创始人']
54
+  }
55
+  // 合伙人
56
+  if (userRichType == 4) {
57
+    // return '高级会员'
58
+    if (bangfu) {
59
+      return ['VIP', bangfu]
60
+    }
61
+    return ['VIP']
62
+  }
63
+  if (userRichType == 5) {
64
+    if (bangfu) {
65
+      return ['初始级合伙人', bangfu]
66
+    }
67
+    return ['初始级合伙人']
68
+  }
69
+  if (userRichType == 6) {
70
+    if (bangfu) {
71
+      return ['中级合伙人', bangfu]
72
+    }
73
+    return ['中级合伙人']
74
+  }
75
+  if (userRichType == 7) {
76
+    if (bangfu) {
77
+      return ['高级合伙人', bangfu]
78
+    }
79
+    return ['高级合伙人']
80
+  }
81
+  if (!userRichType) {
82
+    if (bangfu) {
83
+      return ['用户', bangfu]
84
+    }
85
+    return ['用户']
86
+  }
87
+})
88
+/*
89
+const userType = computed(() => {
90
+  const userRichType = userStore.userInfo?.user_rich_type
22 91
 
23 92
   // 创始人
24 93
   if (userRichType == 3) {
@@ -53,10 +122,16 @@ const userType = computed(() => {
53 122
     return '用户'
54 123
   }
55 124
 })
125
+*/
56 126
 
57 127
 
58
-
59
-onLoad(async () => {
128
+onLoad(async (option) => {
129
+  // console.log(option)
130
+  if (option && option.userType) {
131
+    currentType.value = [option.userType]
132
+  } else {
133
+    currentType.value = userType
134
+  }
60 135
   await userStore.getUserInfo()
61 136
   await userStore.getUserYanglaoJin()
62 137
 })
@@ -91,7 +166,7 @@ function handleShowAnnuityDetail() {
91 166
 const ruleId = computed(() => {
92 167
   const userRichType = userStore.userInfo?.user_rich_type
93 168
 
94
-  console.log(userRichType)
169
+  // console.log(userRichType)
95 170
   // 创始人
96 171
   if (userRichType === 3) {
97 172
     return 21
@@ -116,7 +191,7 @@ const agentInfo = ref({})
116 191
 onShow(() => {
117 192
 
118 193
   if (ruleId.value) {
119
-    console.log(ruleId.value)
194
+    // console.log(ruleId.value)
120 195
     getRules(ruleId.value).then(res => {
121 196
       ruleDetail.value = res
122 197
     }).catch(error => {
@@ -170,10 +245,18 @@ function handleToVipPage() {
170 245
                 {{ encodePhone(userStore.userInfo.phone) }}
171 246
               </div>
172 247
             </div>
173
-            <div
174
-                class="flex rounded-full border border-solid border-1px border-yellow text-[12px] text-white w-12 h-5 justify-center items-center w-fit px-1">
175
-              {{ userType }}
248
+            <div class="flex gap-1 items-center px-1">
249
+              <div
250
+                  v-for="(item, index) in currentType"
251
+                  :key="index"
252
+                  class="flex rounded-full border border-solid border-1px border-yellow text-[12px] text-white w-12 h-5 justify-center items-center w-fit px-1">
253
+                {{ item }}
254
+              </div>
176 255
             </div>
256
+<!--            <div-->
257
+<!--                class="flex rounded-full border border-solid border-1px border-yellow text-[12px] text-white w-12 h-5 justify-center items-center w-fit px-1">-->
258
+<!--              {{ userType }}-->
259
+<!--            </div>-->
177 260
           </div>
178 261
 
179 262
 
@@ -231,7 +314,7 @@ function handleToVipPage() {
231 314
           v-else
232 315
           class="p-3 bg-white text-sm text-gray-500"
233 316
       >
234
-        <mpHtml :content="ruleDetail.content"></mpHtml>
317
+        <mpHtml :content="ruleDetail.content" v-if="ruleDetail && ruleDetail.content"></mpHtml>
235 318
 
236 319
         <div class="flex justify-center items-center">
237 320
           <nut-button

+ 2 - 0
src/pages/order/components/OtherOrderItem.vue

@@ -54,6 +54,8 @@ function handleClick() {
54 54
   console.log(product)
55 55
   // if (product.source == '6') {
56 56
   const productId = props.item.source == '1' ? product.goods_sign : product.goods_id
57
+  // console.log(productId)
58
+  console.log(product.commission)
57 59
   navigateToDetail(encodeBase64({
58 60
     platform: product.source,
59 61
     // id: product.goods_id,

+ 64 - 4
src/pages/store/product/other.vue

@@ -3,7 +3,7 @@
3 3
 import {
4 4
   getDyProductDetail,
5 5
   getJdProductDetail,
6
-  getPddProductDetail,
6
+  getPddProductDetail, getShareId,
7 7
   getSuProductDetail,
8 8
   getTaobaoProductDetail,
9 9
   getVipProductDetail
@@ -51,7 +51,8 @@ const props = defineProps({
51 51
 })
52 52
 
53 53
 const state = reactive({
54
-  data: {}
54
+  data: {},
55
+  shareId: ''
55 56
 })
56 57
 const detail = ref<IProductDetail>()
57 58
 onLoad((options: any) => {
@@ -71,11 +72,15 @@ onShow(() => {
71 72
   isSubmit.value = false
72 73
 })
73 74
 
75
+
76
+
74 77
 function mergeProductDetail(data: Partial<IProductDetail> = {}) {
75 78
   detail.value = merge(detail.value, data)
76 79
 }
77 80
 
78 81
 function loadProductDetail(product: Partial<IProductDetail>) {
82
+  // console.log('产品id')
83
+  // console.log(product.id)
79 84
   // 京东
80 85
   if (product.platform == 6) {
81 86
     getJdProductDetail(product.id).then(res => {
@@ -151,7 +156,8 @@ function loadProductDetail(product: Partial<IProductDetail>) {
151 156
         featured: product.goodsCarouselPictures,
152 157
         images: product.goodsDetailPictures,
153 158
         mallName: '唯品自营',
154
-        ...product
159
+        ...product,
160
+        ...res
155 161
       })
156 162
       if (product.couponInfo) {
157 163
         mergeProductDetail({
@@ -315,6 +321,60 @@ function handleBuyNow() {
315 321
   if (detail.value?.platform == 2) {
316 322
     console.log(detail.value)
317 323
   }*/
324
+
325
+  onShareAppMessage(async () => {
326
+    await uni.showLoading({
327
+      title: '分享中',
328
+      icon: 'none'
329
+    })
330
+    return await getShareId({ pid: state.id, type: 1 }).then(res => {
331
+      if (res) {
332
+        state.shareId = res.share_id
333
+        uni.hideLoading()
334
+        return {
335
+          title: `${detail.value.title}`,
336
+          path: `pages/store/product/detail?id=${detail.value.id}&from=share&shareID=${state.shareId}`
337
+        }
338
+      }
339
+    }).catch(error => {
340
+      uni.showToast({
341
+        title: '请登录后分享',
342
+        icon: 'none'
343
+      }).then(() => {
344
+        setTimeout(() => {
345
+          uni.navigateTo({
346
+            url: '/pages/user/login/index'
347
+          })
348
+        }, 500)
349
+      })
350
+      uni.hideLoading()
351
+    })
352
+
353
+  })
354
+
355
+  onShareTimeline(() => {
356
+
357
+    if (!userStore.uid) {
358
+      return uni.showToast({
359
+        title: '请登录后分享',
360
+        icon: 'none'
361
+      }).then(() => {
362
+        setTimeout(() => {
363
+          uni.navigateTo({
364
+            url: '/pages/user/login/index'
365
+          })
366
+        }, 500)
367
+      })
368
+    }
369
+
370
+    return {
371
+      title: `${detail.value.store_name}`,
372
+      imageUrl:  state.shareImage,
373
+      query: `id=${state.id}&from=share&shareID=${state.shareId}`
374
+    }
375
+
376
+  })
377
+
318 378
 }
319 379
 
320 380
 /**
@@ -401,7 +461,7 @@ const hasCoupon = computed(() => {
401 461
           <div class="flex justify-between items-center p-3">
402 462
             <div class="inline-flex items-center">
403 463
               <div class="text-sm">预估养老金</div>
404
-              <FPrice :price="detail.allowance" need-symbol ex-class="text-[20px] font-bold"/>
464
+              <FPrice :price="detail.yanglao || detail.commission" need-symbol ex-class="text-[20px] font-bold"/>
405 465
             </div>
406 466
             <div>
407 467
               <nut-button type="primary" @tap="handleBuyNow" :disabled="isSubmit">

+ 4 - 4
src/pages/user/index.vue

@@ -8,7 +8,7 @@ import {totalOrderNumber} from "~/apis/order.api";
8 8
 import type {OrderQuantityModel} from "~/apis/model/order.model";
9 9
 import type {Ref} from "vue";
10 10
 const pageStore = usePageStoreWidthOut()
11
-
11
+const currentType = ref('')
12 12
 const myOrderList = [{
13 13
   id: 'noPay',
14 14
   icon: CDN_URL + '/static/assets/obligation_220620.png',
@@ -333,9 +333,9 @@ function handleShowMyProfile() {
333 333
   })
334 334
 }
335 335
 
336
-function handleShowMyRulePage() {
336
+function handleShowMyRulePage(item) {
337 337
   uni.navigateTo({
338
-    url: '/pages/my-rules/index'
338
+    url: `/pages/my-rules/index?userType=${item}`
339 339
   })
340 340
 }
341 341
 </script>
@@ -372,7 +372,7 @@ function handleShowMyRulePage() {
372 372
             <div
373 373
                 v-for="(item, index) in userType"
374 374
                 :key="index"
375
-                @click="handleShowMyRulePage"
375
+                @click="handleShowMyRulePage(item)"
376 376
                 class="flex rounded-full border border-solid border-1px border-yellow text-[12px] text-white w-12 h-5 justify-center items-center w-fit px-1">
377 377
               {{ item }}
378 378
             </div>

+ 0 - 303
src/utils/http/pdd.json

@@ -1,303 +0,0 @@
1
-{
2
-  "status": 200,
3
-  "message": "success",
4
-  "data": {
5
-    "product_id": "3815",
6
-    "mer_id": "321",
7
-    "image": "https:\/\/cdn.bjtdba.com\/chuxubao\/images\/2022-11-23\/c33e4202211231534327512.png",
8
-    "slider_image": [
9
-      "https:\/\/cdn.bjtdba.com\/chuxubao\/images\/2022-11-23\/c33e4202211231534327512.png"
10
-    ],
11
-    "store_name": "给赵姐安排的多规格商品~~",
12
-    "store_info": "温和清洁水油平衡专注偏油细软发质养护",
13
-    "unit_name": "瓶",
14
-    "price": "1.00",
15
-    "cost": "0.00",
16
-    "ot_price": "10.00",
17
-    "stock": "1331",
18
-    "sales": 101,
19
-    "video_link": "",
20
-    "product_type": "0",
21
-    "type": "5",
22
-    "dc_price": "0.00",
23
-    "seckill": "0",
24
-    "isRelation": false,
25
-    "sku": {
26
-      "紫色,01": {
27
-        "sku": "紫色,01",
28
-        "price": "9.00",
29
-        "stock": "111",
30
-        "image": "",
31
-        "bar_code": "",
32
-        "weight": "0.00",
33
-        "volume": "0.00",
34
-        "ot_price": "10.00",
35
-        "unique": "1d2a62fa63a0",
36
-        "dacang": "0.00"
37
-      },
38
-      "紫色,02": {
39
-        "sku": "紫色,02",
40
-        "price": "10.00",
41
-        "stock": "111",
42
-        "image": "",
43
-        "bar_code": "",
44
-        "weight": "0.00",
45
-        "volume": "0.00",
46
-        "ot_price": "10.00",
47
-        "unique": "15ce35afbc60",
48
-        "dacang": "0.00"
49
-      },
50
-      "紫色,03": {
51
-        "sku": "紫色,03",
52
-        "price": "11.00",
53
-        "stock": "111",
54
-        "image": "",
55
-        "bar_code": "",
56
-        "weight": "0.00",
57
-        "volume": "0.00",
58
-        "ot_price": "10.00",
59
-        "unique": "c842679d28f0",
60
-        "dacang": "0.00"
61
-      },
62
-      "紫色,04": {
63
-        "sku": "紫色,04",
64
-        "price": "12.00",
65
-        "stock": "111",
66
-        "image": "",
67
-        "bar_code": "",
68
-        "weight": "0.00",
69
-        "volume": "0.00",
70
-        "ot_price": "10.00",
71
-        "unique": "023642eb20a0",
72
-        "dacang": "0.00"
73
-      },
74
-      "绿色,01": {
75
-        "sku": "绿色,01",
76
-        "price": "5.00",
77
-        "stock": "111",
78
-        "image": "",
79
-        "bar_code": "",
80
-        "weight": "0.00",
81
-        "volume": "0.00",
82
-        "ot_price": "10.00",
83
-        "unique": "e42da891b7a0",
84
-        "dacang": "0.00"
85
-      },
86
-      "绿色,02": {
87
-        "sku": "绿色,02",
88
-        "price": "6.00",
89
-        "stock": "111",
90
-        "image": "",
91
-        "bar_code": "",
92
-        "weight": "0.00",
93
-        "volume": "0.00",
94
-        "ot_price": "10.00",
95
-        "unique": "05b9255af420",
96
-        "dacang": "0.00"
97
-      },
98
-      "绿色,03": {
99
-        "sku": "绿色,03",
100
-        "price": "7.00",
101
-        "stock": "111",
102
-        "image": "",
103
-        "bar_code": "",
104
-        "weight": "0.00",
105
-        "volume": "0.00",
106
-        "ot_price": "10.00",
107
-        "unique": "a29158286450",
108
-        "dacang": "0.00"
109
-      },
110
-      "绿色,04": {
111
-        "sku": "绿色,04",
112
-        "price": "8.00",
113
-        "stock": "111",
114
-        "image": "",
115
-        "bar_code": "",
116
-        "weight": "0.00",
117
-        "volume": "0.00",
118
-        "ot_price": "10.00",
119
-        "unique": "644969326fb0",
120
-        "dacang": "0.00"
121
-      },
122
-      "黄色,01": {
123
-        "sku": "黄色,01",
124
-        "price": "1.00",
125
-        "stock": "110",
126
-        "image": "",
127
-        "bar_code": "",
128
-        "weight": "0.00",
129
-        "volume": "0.00",
130
-        "ot_price": "10.00",
131
-        "unique": "cc0d65f6c620",
132
-        "dacang": "0.00"
133
-      },
134
-      "黄色,02": {
135
-        "sku": "黄色,02",
136
-        "price": "2.00",
137
-        "stock": "111",
138
-        "image": "",
139
-        "bar_code": "",
140
-        "weight": "0.00",
141
-        "volume": "0.00",
142
-        "ot_price": "10.00",
143
-        "unique": "1bd652581f90",
144
-        "dacang": "0.00"
145
-      },
146
-      "黄色,03": {
147
-        "sku": "黄色,03",
148
-        "price": "3.00",
149
-        "stock": "111",
150
-        "image": "",
151
-        "bar_code": "",
152
-        "weight": "0.00",
153
-        "volume": "0.00",
154
-        "ot_price": "10.00",
155
-        "unique": "e7a1d45c0410",
156
-        "dacang": "0.00"
157
-      },
158
-      "黄色,04": {
159
-        "sku": "黄色,04",
160
-        "price": "4.00",
161
-        "stock": "111",
162
-        "image": "",
163
-        "bar_code": "",
164
-        "weight": "0.00",
165
-        "volume": "0.00",
166
-        "ot_price": "10.00",
167
-        "unique": "9c3b14543f50",
168
-        "dacang": "0.00"
169
-      }
170
-    },
171
-    "replayData": {
172
-      "best": 0,
173
-      "rate": "",
174
-      "count": 0
175
-    },
176
-    "unique": "cc0d65f6c620",
177
-    "attr": [
178
-      {
179
-        "product_id": "3815",
180
-        "attr_name": "颜色",
181
-        "attr_values": [
182
-          "黄色",
183
-          "绿色",
184
-          "紫色"
185
-        ],
186
-        "type": "0",
187
-        "attr_id": null,
188
-        "attr_value": [
189
-          {
190
-            "attr": "黄色",
191
-            "check": false
192
-          },
193
-          {
194
-            "attr": "绿色",
195
-            "check": false
196
-          },
197
-          {
198
-            "attr": "紫色",
199
-            "check": false
200
-          }
201
-        ]
202
-      },
203
-      {
204
-        "product_id": "3815",
205
-        "attr_name": "型号",
206
-        "attr_values": [
207
-          "01",
208
-          "02",
209
-          "03",
210
-          "04"
211
-        ],
212
-        "type": "0",
213
-        "attr_id": null,
214
-        "attr_value": [
215
-          {
216
-            "attr": "01",
217
-            "check": false
218
-          },
219
-          {
220
-            "attr": "02",
221
-            "check": false
222
-          },
223
-          {
224
-            "attr": "03",
225
-            "check": false
226
-          },
227
-          {
228
-            "attr": "04",
229
-            "check": false
230
-          }
231
-        ]
232
-      }
233
-    ],
234
-    "yanglao": "0.05",
235
-    "product_count": 89,
236
-    "merchant_type": "3",
237
-    "seckill_s": 0,
238
-    "content": {
239
-      "product_id": "3815",
240
-      "content": "<p><br\/><\/p><p><img src=\"https:\/\/cdn.bjtdba.com\/chuxubao\/images\/2022-11-23\/6dff6202211231536166470.jpg\"\/><\/p>",
241
-      "type": "0"
242
-    },
243
-    "topReply": null,
244
-    "merchant": {
245
-      "mer_id": "321",
246
-      "mer_name": "大仓创客",
247
-      "mer_avatar": "https:\/\/app.bjtdba.com\/uploads\/def\/20220428\/d616961db8aefbe92f72972a1d7db88a.png",
248
-      "product_score": "3.8",
249
-      "service_score": "3.6",
250
-      "postage_score": "3.6",
251
-      "service_phone": "13260336036",
252
-      "care_count": "11",
253
-      "business_id": "0",
254
-      "sxy_submerchant_id": "895152791",
255
-      "im": {
256
-        "im": "0",
257
-        "im_uuid": null,
258
-        "account": "12222222222"
259
-      },
260
-      "recommend": [
261
-        {
262
-          "mer_id": "321",
263
-          "product_id": "6145",
264
-          "store_name": "海谜璃牛皮女包水桶包复古女大包斜跨包HBB0106",
265
-          "image": "https:\/\/scce-cos-prd.obs.cn-south-1.myhuaweicloud.com:443\/dc9da00050c14c76ac869707d7ddb84e.jpg",
266
-          "price": "415.87",
267
-          "is_show": "1",
268
-          "status": "1",
269
-          "is_gift_bag": "0",
270
-          "is_good": "0",
271
-          "ot_price": "439.00",
272
-          "yanglao": "9.45"
273
-        },
274
-        {
275
-          "mer_id": "321",
276
-          "product_id": "6147",
277
-          "store_name": "viney牛皮包包女包斜挎包女轻奢链条包简约感单肩小包百搭小众小方包品牌高级感生日礼物送女友老婆女朋友实用",
278
-          "image": "https:\/\/img13.360buyimg.com\/n12\/jfs\/t1\/159949\/15\/21639\/475015\/63fb76f4Fc756c6ae\/a5a3a097b3702556.png",
279
-          "price": "267.82",
280
-          "is_show": "1",
281
-          "status": "1",
282
-          "is_gift_bag": "0",
283
-          "is_good": "0",
284
-          "ot_price": "284.90",
285
-          "yanglao": "6.08"
286
-        },
287
-        {
288
-          "mer_id": "321",
289
-          "product_id": "3857",
290
-          "store_name": "白酒",
291
-          "image": "https:\/\/cdn.bjtdba.com\/chuxubao\/images\/2022-11-29\/55569202211291710338893.png",
292
-          "price": "1.00",
293
-          "is_show": "1",
294
-          "status": "1",
295
-          "is_gift_bag": "0",
296
-          "is_good": "0",
297
-          "ot_price": "2.00",
298
-          "yanglao": "0.05"
299
-        }
300
-      ]
301
-    }
302
-  }
303
-}