V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
0xLeco
V2EX  ›  Python

京东 sku_id

  •  1
     
  •   0xLeco · Oct 18, 2016 · 4974 views
    This topic created in 3480 days ago, the information mentioned may be changed or developed.

    有大神知道京东 sku_id 是如何设计的吗?

    7 replies    2016-10-19 15:54:17 +08:00
    latyas
        1
    latyas  
       Oct 18, 2016
    京东 skuid 不就是商品的 id ?
    luili
        2
    luili  
       Oct 18, 2016
    你可以再描述的更清楚点的, id 的生成规则,还是商品库的架构? sku 和 spu ?
    30CURRY30
        3
    30CURRY30  
       Oct 18, 2016
    商品编码+尺寸+颜色
    0xLeco
        4
    0xLeco  
    OP
       Oct 18, 2016
    @luili 比较好奇 id 的生成规则,如何与品类对应的,当然商品库的架构, sku , spu 有清楚的,我也感兴趣,大神能解释清楚的话不胜感激
    sujin190
        5
    sujin190  
       Oct 19, 2016
    @latyas 其实并不是,另外还有个商品 id 的,抓包看就能看到了
    sujin190
        6
    sujin190  
       Oct 19, 2016
    @kethylar 难道不是递增的?
    R4rvZ6agNVWr56V0
        7
    R4rvZ6agNVWr56V0  
       Oct 19, 2016
    sku_id 一般也同订单编号一样,是幂等的吧,目测未必顺序递增
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5280 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 03:24 · PVG 11:24 · LAX 20:24 · JFK 23:24
    ♥ Do have faith in what you're doing.