Home  >  Article  >  Backend Development  >  一般电商系统的商品规格 数据库方案是如何设计的

一般电商系统的商品规格 数据库方案是如何设计的

PHP中文网
PHP中文网Original
2017-03-30 09:44:334972browse

一般电商系统的商品规格 数据库方案是如何设计的

可以参考淘宝开放平台中公开的文档
open.taobao.com/doc2/apiList.htm?cid=4

没有做过电商相关的东西,但是你可以看看ECShop的数据库设计。

因为每个商品,商品的规格不同。
所以数据库key-value形式储存规格的每一个项目。
以程序MODEL做验证。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn