Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
physical
Commits
22262c28
Commit
22262c28
authored
Sep 09, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户点击问题清单进linucb异常捕捉
parent
8a2be6a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
collect_data.py
linucb/views/collect_data.py
+2
-2
No files found.
linucb/views/collect_data.py
View file @
22262c28
...
...
@@ -366,8 +366,8 @@ class CollectData(object):
data
=
json
.
loads
(
raw_val_dict
[
b
'content'
])
if
'SYS'
in
data
and
'APP'
in
data
and
'action'
in
data
[
'SYS'
]
and
data
[
'SYS'
][
'action'
]
==
"venus/community/skin_check/submit_questions"
:
device_id
=
data
[
'SYS'
][
'cl_id'
]
tagid_list
=
list
(
data
[
'APP'
]
[
'answer_tag'
])
or
[]
user_id
=
data
[
'SYS'
]
[
'user_id'
]
or
None
tagid_list
=
list
(
data
[
'APP'
]
.
get
(
'answer_tag'
,
{}))
user_id
=
data
[
'SYS'
]
.
get
(
'user_id'
,
None
)
logging
.
info
(
"skin_check topic type:
%
s, device_id:
%
s, answer_tag:
%
s"
%
(
str
(
data
[
'SYS'
][
'action'
]),
str
(
device_id
),
str
(
tagid_list
)))
if
len
(
tagid_list
)
>
0
:
...
...
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