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
alpha
physical
Commits
c8a30f96
Commit
c8a30f96
authored
Oct 29, 2019
by
吴升宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5ec79551
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
auto_request.py
vest/request/auto_request.py
+9
-2
No files found.
vest/request/auto_request.py
View file @
c8a30f96
...
...
@@ -605,9 +605,9 @@ def get_category_reply_commtent(category_id):
elif
category_id
==
46
:
# 穿搭
logging
.
info
(
"46-------------"
)
file
=
"/srv/apps/physical/vest/data/wear_repy_data.txt"
elif
category_id
==
10329872
:
#
肌肤
elif
category_id
==
10329872
:
#
肤质类型
file
=
"/srv/apps/physical/vest/data/skin.txt"
elif
category_id
==
10329873
:
#
敏感肌
elif
category_id
==
10329873
:
#
皮肤敏感度
file
=
"/srv/apps/physical/vest/data/skin_sensitive.txt"
else
:
comment
=
get_comment
()
...
...
@@ -632,6 +632,13 @@ def judge_topic_info_get_comment(topic_id):
edit_tag_list
=
get_edit_tag_id_list
(
topic_id
)
logging
.
info
(
"get topic_tag:
%
s"
%
edit_tag_list
)
tag_list
=
get_tag_id_list
(
topic_id
)
# todo 垃圾需求--》垃圾代码 先这样
if
10329872
in
edit_tag_list
:
get_category_reply_commtent
(
10329872
)
if
10329873
in
edit_tag_list
:
get_category_reply_commtent
(
10329872
)
if
len
(
tag_list
)
>
0
:
comment
=
get_hellolike_comment
()
...
...
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