Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZHOUXINGYU_project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhou
ZHOUXINGYU_project
Commits
60f3d3f8
Commit
60f3d3f8
authored
Dec 17, 2019
by
zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme.md
parent
96eeaa93
Pipeline
#100
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
readme.md
readme.md
+5
-5
No files found.
readme.md
View file @
60f3d3f8
## 一.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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment