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
1da804a7
Commit
1da804a7
authored
Jun 06, 2020
by
xuxu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新es挂了及数据库挂了的备用情况
parent
c66d8568
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
7 deletions
+5
-7
specialname/common/test.py
+0
-0
specialname/main.py
+5
-5
specialname/service/__pycache__/name_recommend.cpython-37.pyc
+0
-0
specialname/service/__pycache__/preference_selecter.cpython-37.pyc
+0
-0
specialname/service/name_recommend.py
+0
-0
specialname/service/preference_selecter.py
+0
-2
No files found.
specialname/common/test.py
0 → 100644
View file @
1da804a7
specialname/main.py
View file @
1da804a7
...
...
@@ -15,7 +15,7 @@ CORS(server,supports_credentials=True) #跨域请求
base_result
=
[]
now_time
=
str
(
datetime
.
datetime
.
now
())[:
10
]
#偏好选项信息
#
偏好选项信息
@server.route
(
'/preference_select'
,
methods
=
[
'POST'
])
def
preference_select_info
():
if
request
.
method
==
'POST'
:
...
...
@@ -29,7 +29,7 @@ def preference_select_info():
base_result
=
preference_select
()
if
len
(
base_result
)
==
0
:
base_result
=
preference_select
()
base_result
=
preference_select
()
return
common_result
.
to_result
(
base_result
)
...
...
@@ -46,5 +46,5 @@ def treasure_name_info():
return
common_result
.
to_result
(
result
)
if
__name__
==
'__main__'
:
server
.
run
(
debug
=
True
,
host
=
'0.0.0.0'
,
port
=
80
)
# server.run(debug=True, host='192.168.201.35', port=)
\ No newline at end of file
# server.run(debug=True,host='0.0.0.0',port=80)
server
.
run
(
debug
=
True
,
host
=
'127.0.0.1'
,
port
=
8083
)
\ No newline at end of file
specialname/service/__pycache__/name_recommend.cpython-37.pyc
View file @
1da804a7
No preview for this file type
specialname/service/__pycache__/preference_selecter.cpython-37.pyc
View file @
1da804a7
No preview for this file type
specialname/service/name_recommend.py
View file @
1da804a7
This diff is collapsed.
Click to expand it.
specialname/service/preference_selecter.py
View file @
1da804a7
...
...
@@ -26,8 +26,6 @@ def preference_select():
preference_select
()
def
preference_meaning
(
list
):
preference
=
Preference
()
word_size_list
=
{}
...
...
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