andiris29 / qingshow

倾秀:女装搭配
3 stars 1 forks source link

[测试服]部分item的skuTable的值为null #1503

Closed wxy325 closed 9 years ago

wxy325 commented 9 years ago
{
    "_id" : ObjectId("55e3bed038dadbed5a9a362d"),
    "categoryRef" : ObjectId("5593b88838dadbed5a998b96"),
    "name" : "OLD NAVY踝部装饰女式低跟短靴",
    "source" : "https://detail.tmall.com/item.htm?spm=a1z10.5-b.w4011-5817691122.148.QdKlgQ&id=520549695965&rn=a5381db34238e3a0e787bde48c17ceeb&abbucket=19&sku_properties=1627207:3224419",
    "thumbnail" : "http://trial01.focosee.com/cs/0100828/a49.jpg",
    "create" : ISODate("2015-08-31T17:00:01.367Z"),
    "delist" : null,
    "goblinUpdate" : ISODate("2015-09-17T06:01:12.489Z"),
    "price" : 279,
    "promoPrice" : 181.3499999999999943,
    "skuProperties" : [ 
        "尺码:36码(23.0cm):34码(22.0cm):38码(24.0cm):42码(26.0cm):40码(25.0cm)", 
        "颜色:纯黑色:驼色"
    ],
    "__v" : 1,
    "sync" : ISODate("2015-09-23T22:25:10.674Z"),
    "syncEnabled" : true,
    "skuTable" : {
        "38码(240cm):驼色" : null,
        "34码(220cm):驼色" : null,
        "40码(250cm):驼色" : null,
        "36码(230cm):驼色" : null,
        "42码(260cm):驼色" : null,
        "40码(250cm):纯黑色" : null,
        "42码(260cm):纯黑色" : null,
        "38码(240cm):纯黑色" : null,
        "34码(220cm):纯黑色" : null,
        "36码(230cm):纯黑色" : null
    }
}
andiris29 commented 9 years ago

不能重现

{
  "data": {
    "item": {
      "__v": 1,
      "_id": "55e3bed038dadbed5a9a362d",
      "categoryRef": "5593b88838dadbed5a998b96",
      "delist": null,
      "goblinUpdate": "2015-09-05T18:18:59.704Z",
      "name": "OLD NAVY踝部装饰女式低跟短靴",
      "price": 279,
      "promoPrice": 181.35,
      "shopRef": "5603f76affd5ed793e8186c6",
      "skuTable": {
        "36码(230cm):纯黑色": "3:181.35",
        "34码(220cm):纯黑色": "0:181.35",
        "38码(240cm):纯黑色": "3:181.35",
        "42码(260cm):纯黑色": "1:181.35",
        "40码(250cm):纯黑色": "2:181.35",
        "42码(260cm):驼色": "0:181.35",
        "36码(230cm):驼色": "0:181.35",
        "40码(250cm):驼色": "0:181.35",
        "34码(220cm):驼色": "0:181.35",
        "38码(240cm):驼色": "0:181.35"
      },
      "source": "https://detail.tmall.com/item.htm?spm=a1z10.5-b.w4011-5817691122.148.QdKlgQ&id=520549695965&rn=a5381db34238e3a0e787bde48c17ceeb&abbucket=19&sku_properties=1627207:3224419",
      "sync": "2015-09-24T13:15:22.964Z",
      "thumbnail": "http://trial01.focosee.com/cs/0100828/a49.jpg",
      "syncEnabled": true,
      "create": "2015-08-31T17:00:01.367Z",
      "skuProperties": [
        "尺码:36码(23.0cm):34码(22.0cm):38码(24.0cm):42码(26.0cm):40码(25.0cm)",
        "颜色:纯黑色:驼色"
      ]
    }
  },
  "metadata": {}
}
andiris29 commented 9 years ago

客户端先做保护吧。

@wxy325 @rong5690001