HighLevelDesign.md 1.31 KB

店匠是类似于shopify的独立站SAAS。我们要为基于店匠的独立站(一般为跨境电商独立站)做搜索SAAS。

商品数据 - 数据源 - mysql

店匠的商品结构如下:

数据库配置:

mysql数据源

host: 120.79.247.228 port: 3316 username: saas password: P89cZHS5d7dFyc9R

店匠主表

shoplazza_product_sku shoplazza_product_spu

主表sku表的结构为: id bigint(20) spu_id bigint(20) shop_id bigint(20) shoplazza_id varchar(64) shoplazza_product_id varchar(64) shoplazza_image_id varchar(64) title varchar(500) sku varchar(100) barcode varchar(100) position int(11) price decimal(10,2) compare_at_price decimal(10,2) cost_price decimal(10,2) option1 varchar(255) option2 varchar(255) option3 varchar(255) inventory_quantity int(11) weight decimal(10,2) weight_unit varchar(10) image_src varchar(500) wholesale_price json note text extend json shoplazza_created_at datetime shoplazza_updated_at datetime tenant_id bigint(20) creator varchar(64) create_time datetime updater varchar(64) update_time datetime deleted bit(1)

ES_CONFIG = { 'host': 'http://localhost:9200', 'username': 'essa', 'password': '4hOaLaf41y2VuI8y' }

REDIS_CONFIG = { 'host': 'localhost', 'port': 6479, 'password': 'BMfv5aI31kgHWtlx' }

DEEPL_AUTH_KEY = "c9293ab4-ad25-479b-919f-ab4e63b429ed"