Blame view

环境相关.md 1.41 KB
be52af70   tangwang   first commit
1
  
2c9fad19   tangwang   撰写接口文档
2
3
4
5
6
  环境使用:
  source /home/tw/miniconda3/etc/profile.d/conda.sh
  conda activate searchengine
  
  
be52af70   tangwang   first commit
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  店匠是类似于shopify的独立站SAAS。我们要为基于店匠的独立站(一般为跨境电商独立站)做搜索SAAS。
  
  
  ## 商品数据 - 数据源 - mysql
  店匠的商品结构如下:
  
  数据库配置:
  
  ## mysql数据源
  host: 120.79.247.228
  port: 3316
  username: saas
  password: P89cZHS5d7dFyc9R
  
  
2c9fad19   tangwang   撰写接口文档
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  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"
  
  
  
  
  
be52af70   tangwang   first commit
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  ### 店匠主表
  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)