litian
2024-02-29 60bae3bf527b15fc5aefd555d7c76916b012b823
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
import { mockIp, mockReqId } from '../utils/mock';
 
export function genCartGroupData() {
  const resp = {
    data: {
      isNotEmpty: true,
      storeGoods: [
        {
          storeId: '1000',
          storeName: '云Mall深圳旗舰店',
          storeStatus: 1,
          totalDiscountSalePrice: '9990',
          promotionGoodsList: [
            {
              title: '满减满折回归',
              promotionCode: 'MERCHANT',
              promotionSubCode: 'MYJ',
              promotionId: '159174555838121985',
              tagText: ['满100元减99.9元'],
              promotionStatus: 3,
              tag: '满减',
              description: '满100元减99.9元,已减99.9元',
              doorSillRemain: null,
              isNeedAddOnShop: 0,
              goodsPromotionList: [
                {
                  uid: '88888888205468',
                  saasId: '88888888',
                  storeId: '1000',
                  spuId: '12',
                  skuId: '135691622',
                  isSelected: 1,
                  thumb:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/dz-3a.png',
                  title:
                    '腾讯极光盒子4智能网络电视机顶盒6K千兆网络机顶盒4K高分辨率',
                  primaryImage:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/dz-3a.png',
                  quantity: 1,
                  stockStatus: true,
                  stockQuantity: 3,
                  price: '9900',
                  originPrice: '16900',
                  tagPrice: null,
                  titlePrefixTags: [{ text: '新品' }, { text: '火爆' }],
                  roomId: null,
                  specInfo: [
                    {
                      specTitle: '颜色',
                      specValue: '经典白',
                    },
                    {
                      specTitle: '类型',
                      specValue: '经典套装',
                    },
                  ],
                  joinCartTime: '2020-06-29T07:55:40.000+0000',
                  available: 1,
                  putOnSale: 1,
                  etitle: null,
                },
                {
                  uid: '88888888205468',
                  saasId: '88888888',
                  storeId: '1000',
                  spuId: '18',
                  skuId: '135681631',
                  isSelected: 1,
                  thumb:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/nz-09a.png',
                  title:
                    '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
                  primaryImage:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/nz-09a.png',
                  quantity: 1,
                  stockStatus: true,
                  stockQuantity: 177,
                  price: '29800',
                  originPrice: '40000',
                  tagPrice: null,
                  titlePrefixTags: null,
                  roomId: null,
                  specInfo: [
                    {
                      specTitle: '颜色',
                      specValue: '米色荷叶边',
                    },
                    {
                      specTitle: '尺码',
                      specValue: 'M',
                    },
                  ],
                  joinCartTime: '2020-06-29T07:55:27.000+0000',
                  available: 1,
                  putOnSale: 1,
                  etitle: null,
                },
                {
                  uid: '88888888205468',
                  saasId: '88888888',
                  storeId: '1000',
                  spuId: '13',
                  skuId: '135698362',
                  isSelected: 1,
                  thumb:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png',
                  title:
                    '带帽午休毯虎年款多功能加厚加大加绒简约多功能午休毯连帽披肩',
                  primaryImage:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png',
                  quantity: 13,
                  stockStatus: true,
                  stockQuantity: 9,
                  price: '29900',
                  originPrice: '0',
                  tagPrice: null,
                  titlePrefixTags: [{ text: '火爆' }],
                  roomId: null,
                  specInfo: [
                    {
                      specTitle: '颜色',
                      specValue: '浅灰色',
                    },
                    {
                      specTitle: '尺码',
                      specValue: 'M',
                    },
                  ],
                  joinCartTime: '2020-06-29T07:54:43.000+0000',
                  available: 1,
                  putOnSale: 1,
                  etitle: null,
                },
                {
                  uid: '88888888205468',
                  saasId: '88888888',
                  storeId: '1000',
                  spuId: '7',
                  skuId: '135681625',
                  isSelected: 1,
                  thumb:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/gh-2b.png',
                  title:
                    '不锈钢刀叉勺套装家用西餐餐具ins简约耐用不锈钢金色银色可选',
                  primaryImage:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/gh-2b.png',
                  quantity: 1,
                  stockStatus: true,
                  stockQuantity: 0,
                  price: '29900',
                  originPrice: '29900',
                  tagPrice: null,
                  titlePrefixTags: null,
                  roomId: null,
                  specInfo: [
                    {
                      specTitle: '颜色',
                      specValue: '奶黄色',
                    },
                    {
                      specTitle: '数量',
                      specValue: '六件套',
                    },
                  ],
                  joinCartTime: '2020-06-29T07:55:00.000+0000',
                  available: 1,
                  putOnSale: 1,
                  etitle: null,
                },
              ],
              lastJoinTime: '2020-06-29T07:55:40.000+0000',
            },
            {
              title: null,
              promotionCode: 'EMPTY_PROMOTION',
              promotionSubCode: null,
              promotionId: null,
              tagText: null,
              promotionStatus: null,
              tag: null,
              description: null,
              doorSillRemain: null,
              isNeedAddOnShop: 0,
              goodsPromotionList: [
                {
                  uid: '88888888205468',
                  saasId: '88888888',
                  storeId: '1000',
                  spuId: '11',
                  skuId: '135691629',
                  isSelected: 0,
                  thumb:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/nz-17a.png',
                  title: '运动连帽拉链卫衣休闲开衫长袖多色运动细绒面料运动上衣',
                  primaryImage:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/nz-17a.png',
                  quantity: 1,
                  stockStatus: false,
                  stockQuantity: 0,
                  price: '25900',
                  originPrice: '39900',
                  tagPrice: null,
                  tagText: null,
                  roomId: null,
                  specInfo: [
                    {
                      specTitle: '颜色',
                      specValue: '军绿色',
                    },
                    {
                      specTitle: '尺码',
                      specValue: 'S',
                    },
                  ],
                  joinCartTime: '2020-04-24T06:26:48.000+0000',
                  available: 1,
                  putOnSale: 1,
                  etitle: null,
                },
                {
                  uid: '88888888205468',
                  saasId: '88888888',
                  storeId: '1000',
                  spuId: '5',
                  skuId: '135691635',
                  isSelected: 0,
                  thumb:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/dz-2a.png',
                  title:
                    '迷你便携高颜值蓝牙无线耳机立体声只能触控式操作简约立体声耳机',
                  primaryImage:
                    'https://cdn-we-retail.ym.tencent.com/tsr/goods/dz-2a.png',
                  quantity: 1,
                  stockStatus: true,
                  stockQuantity: 96,
                  price: '29000',
                  originPrice: '29900',
                  tagPrice: null,
                  tagText: null,
                  roomId: null,
                  specInfo: [
                    {
                      specTitle: '颜色',
                      specValue: '黑色',
                    },
                    {
                      specTitle: '类型',
                      specValue: '简约款',
                    },
                  ],
                  joinCartTime: '2020-06-29T07:55:17.000+0000',
                  available: 1,
                  putOnSale: 1,
                  etitle: null,
                },
              ],
              lastJoinTime: null,
            },
          ],
          lastJoinTime: '2020-06-29T07:55:40.000+0000',
          postageFreePromotionVo: {
            title: null,
            promotionCode: null,
            promotionSubCode: null,
            promotionId: null,
            tagText: null,
            promotionStatus: null,
            tag: null,
            description: null,
            doorSillRemain: null,
            isNeedAddOnShop: 0,
          },
        },
      ],
      invalidGoodItems: [
        {
          uid: '88888888205468',
          saasId: '88888888',
          storeId: '1000',
          spuId: '1',
          skuId: '135691631',
          isSelected: 1,
          thumb: 'https://cdn-we-retail.ym.tencent.com/tsr/goods/nz-08b.png',
          title: '纯色纯棉休闲圆领短袖T恤纯白亲肤厚柔软细腻面料纯白短袖套头T恤',
          primaryImage:
            'https://cdn-we-retail.ym.tencent.com/tsr/goods/nz-08b.png',
          quantity: 8,
          stockStatus: true,
          stockQuantity: 177,
          price: '26900',
          originPrice: '31900',
          tagPrice: null,
          tagText: null,
          roomId: null,
          specInfo: [
            {
              specTitle: '颜色',
              specValue: '白色',
            },
            {
              specTitle: '尺码',
              specValue: 'S',
            },
          ],
          joinCartTime: '2020-04-28T04:03:59.000+0000',
          available: 1,
          putOnSale: 1,
          etitle: null,
        },
      ],
      isAllSelected: false,
      selectedGoodsCount: 16,
      totalAmount: '179997',
      totalDiscountAmount: '110000',
    },
    code: 'Success',
    msg: null,
    requestId: mockReqId(),
    clientIp: mockIp(),
    rt: 269,
    success: true,
  };
  return resp;
}