V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
kethylar
V2EX  ›  Python

京东 sku_id

  •  1
     
  •   kethylar · 2016-10-18 15:57:24 +08:00 · 3808 次点击
    这是一个创建于 2718 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    7 条回复    2016-10-19 15:54:17 +08:00
    latyas
        1
    latyas  
       2016-10-18 17:04:24 +08:00
    京东 skuid 不就是商品的 id ?
    luili
        2
    luili  
       2016-10-18 17:26:39 +08:00
    你可以再描述的更清楚点的, id 的生成规则,还是商品库的架构? sku 和 spu ?
    30CURRY30
        3
    30CURRY30  
       2016-10-18 18:00:55 +08:00
    商品编码+尺寸+颜色
    kethylar
        4
    kethylar  
    OP
       2016-10-18 22:44:20 +08:00
    @luili 比较好奇 id 的生成规则,如何与品类对应的,当然商品库的架构, sku , spu 有清楚的,我也感兴趣,大神能解释清楚的话不胜感激
    sujin190
        5
    sujin190  
       2016-10-19 09:31:50 +08:00
    @latyas 其实并不是,另外还有个商品 id 的,抓包看就能看到了
    sujin190
        6
    sujin190  
       2016-10-19 09:32:13 +08:00
    @kethylar 难道不是递增的?
    GeekGao
        7
    GeekGao  
       2016-10-19 15:54:16 +08:00
    sku_id 一般也同订单编号一样,是幂等的吧,目测未必顺序递增
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1000 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 19:54 · PVG 03:54 · LAX 12:54 · JFK 15:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.