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
21cdf7e7
Commit
21cdf7e7
authored
Jun 17, 2020
by
黄静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hj
parent
2e1dd0f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
entprofile/service/__pycache__/user_behavior.cpython-37.pyc
+0
-0
entprofile/service/user_behavior.py
+18
-0
No files found.
entprofile/service/__pycache__/user_behavior.cpython-37.pyc
View file @
21cdf7e7
No preview for this file type
entprofile/service/user_behavior.py
View file @
21cdf7e7
...
@@ -293,6 +293,14 @@ class Recom:
...
@@ -293,6 +293,14 @@ class Recom:
surveyitem
[
'productName'
]
=
surveyitem
[
'commodityName'
]
surveyitem
[
'productName'
]
=
surveyitem
[
'commodityName'
]
surveyitem
[
'typeName'
]
=
"监测推荐"
surveyitem
[
'typeName'
]
=
"监测推荐"
product_list
.
append
(
surveyitem
)
product_list
.
append
(
surveyitem
)
if
data
[
'potential_product'
]:
potential
=
eval
(
data
[
'potential_product'
])
for
potentialitem
in
potential
:
potentialitem
[
'typeCate'
]
=
potentialitem
[
'typeName'
]
potentialitem
[
'productName'
]
=
potentialitem
[
'commodityName'
]
potentialitem
[
'typeName'
]
=
"潜在商机"
product_list
.
append
(
potentialitem
)
print
(
product_list
,
"===========业务产品list1"
)
print
(
product_list
,
"===========业务产品list1"
)
return
product_list
return
product_list
...
@@ -342,6 +350,16 @@ class Recom:
...
@@ -342,6 +350,16 @@ class Recom:
surveyitem
[
'productName'
]
=
surveyitem
[
'commodityName'
]
surveyitem
[
'productName'
]
=
surveyitem
[
'commodityName'
]
surveyitem
[
'typeName'
]
=
"监测推荐"
surveyitem
[
'typeName'
]
=
"监测推荐"
product_list
.
append
(
surveyitem
)
product_list
.
append
(
surveyitem
)
if
product_select
==
"潜在商机"
:
if
data
[
'potential_product'
]:
potential
=
eval
(
data
[
'potential_product'
])
for
potentialitem
in
potential
:
potentialitem
[
'typeCate'
]
=
potentialitem
[
'typeName'
]
potentialitem
[
'productName'
]
=
potentialitem
[
'commodityName'
]
potentialitem
[
'typeName'
]
=
"潜在商机"
product_list
.
append
(
potentialitem
)
print
(
product_list
,
"===========业务产品list1"
)
print
(
product_list
,
"===========业务产品list1"
)
return
product_list
,
resaon
return
product_list
,
resaon
...
...
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