Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
43867c56
Commit
43867c56
authored
Jul 23, 2020
by
xuxu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段名调整
parent
4bf1ef4f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
quality-doctor/service/__pycache__/phone_number.cpython-37.pyc
+0
-0
quality-doctor/service/__pycache__/recommend_info.cpython-37.pyc
+0
-0
quality-doctor/service/phone_number.py
+1
-1
quality-doctor/service/recommend_info.py
+4
-4
No files found.
quality-doctor/service/__pycache__/phone_number.cpython-37.pyc
View file @
43867c56
No preview for this file type
quality-doctor/service/__pycache__/recommend_info.cpython-37.pyc
View file @
43867c56
No preview for this file type
quality-doctor/service/phone_number.py
View file @
43867c56
...
...
@@ -32,7 +32,7 @@ def phone(app):
ent_company_mobile_sql
=
'insert into ent_company_mobile (
\
server_id,
\
mobile,
\
enterpris
e ) values ("
%
s","
%
s","
%
s")'
\
company_nam
e ) values ("
%
s","
%
s","
%
s")'
\
%
(
id
,
phone
,
company
)
getData
(
ent_company_mobile_sql
)
if
True
:
...
...
quality-doctor/service/recommend_info.py
View file @
43867c56
...
...
@@ -53,8 +53,8 @@ def recommend_function(select_data):
for
product_item
in
product_result_data
:
data
=
{
"id"
:
product_item
[
'product_id'
],
"name"
:
product_item
[
'product'
],
"describe"
:
product_item
[
'product_descri
be
'
],
"name"
:
product_item
[
'product
_name
'
],
"describe"
:
product_item
[
'product_descri
ption
'
],
"price"
:
product_item
[
'product_price'
]
}
product_result
.
append
(
data
)
...
...
@@ -66,8 +66,8 @@ def recommend_function(select_data):
for
product_item
in
product_result_data
:
data
=
{
"id"
:
product_item
[
'product_id'
],
"name"
:
product_item
[
'product'
],
"describe"
:
product_item
[
'product_descri
be
'
],
"name"
:
product_item
[
'product
_name
'
],
"describe"
:
product_item
[
'product_descri
ption
'
],
"price"
:
product_item
[
'product_price'
]
}
product_result
.
append
(
data
)
...
...
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