Commit 60f3d3f8 authored by zhou's avatar zhou

Update readme.md

parent 96eeaa93
Pipeline #100 canceled with stages
## 一.api数据接收模块
### 1.调用main_merge.py中的data_fetch类,其中:
#### model分为'LXWL_model'和'JD_model'两种模式,分别是京东和非京东。
#### localhost为是否数据在本地服务器,False为在线上服务器。
#### True为在本地服务器。source为来源,比如'JD_ZH'或者'ZH_LXWL'。
#### 填写好后使用run()方法即可获取数据并且提取参数,类别品牌匹配后放入数据库,准备在页面呈现。
#### 数据输出在数据库ZI_Database中,其中Product_Api_Data库保存产品数据,Product_Parameter_Process库保存参数数据。这两个表值接对接页面。
##### model分为'LXWL_model'和'JD_model'两种模式,分别是京东和非京东。
##### localhost为是否数据在本地服务器,False为在线上服务器。
##### True为在本地服务器。source为来源,比如'JD_ZH'或者'ZH_LXWL'。
#### 2.填写好后使用run()方法即可获取数据并且提取参数,类别品牌匹配后放入数据库,准备在页面呈现。
#### 3.数据输出在数据库ZI_Database中,其中Product_Api_Data库保存产品数据,Product_Parameter_Process库保存参数数据。这两个表值接对接页面。
```python
data_api = data_fetch(model='LXWL_model', localhost=False, source=f'ZH_{channel}')
data_api_table = data_api.run()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment