Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backend_auto
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
邓莹莹
backend_auto
Commits
306d66f3
Commit
306d66f3
authored
Jun 04, 2021
by
邓莹莹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决丢case问题
parent
428ed83b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
answer_request.py
all_backend_api/answer_request.py
+1
-1
question_request.py
all_backend_api/question_request.py
+1
-1
host.yaml
host.yaml
+2
-2
path_setting.py
path_setting.py
+11
-0
No files found.
all_backend_api/answer_request.py
View file @
306d66f3
...
...
@@ -5,7 +5,7 @@ from in_common.base_request import BaseRequest
class
answer_request
(
BaseRequest
):
def
__init__
(
self
):
self
.
abc
=
self
.
api_load
(
path_setting
.
DETAIL_CONFIG
)
print
(
self
.
data
)
# print(self.abc
)
# 回答详情页
def
detail
(
self
,
current_city_id
,
answer_id
=
""
):
...
...
all_backend_api/question_request.py
View file @
306d66f3
...
...
@@ -5,7 +5,7 @@ from in_common.base_request import BaseRequest
class
question_request
(
BaseRequest
):
def
__init__
(
self
):
self
.
replyanswer
=
self
.
api_load
(
path_setting
.
QUESTION_CONFIG
)
print
(
self
.
data
)
# print(self.replyanswer
)
# 回答详情页- 一/二级评论
def
reply_answer
(
self
,
current_city_id
,
answer_id
,
content
,
user_id
=
""
):
...
...
host.yaml
View file @
306d66f3
develop_host
:
#
backend: http://backend.paas-develop.env
doctor
:
http://doctor.paas-develop.env
backend
:
http://backend.paas-develop.env
#
doctor: http://doctor.paas-develop.env
# backend: https://backend.igengmei.com
path_setting.py
View file @
306d66f3
...
...
@@ -197,6 +197,17 @@ THIRD_PHONE_LOGIN_CONFIG = os.path.join(BASE_DIR,"backend_auto/all_backend_api",
THIRD_PHONE_LOGIN
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/account_data"
,
"login_thirdphone"
)
#回答详情页点赞
VOTE
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/answer_data"
,
"vote.yaml"
)
#回答详情页取消点赞
CANCEL_VOTE
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/answer_data"
,
"cancel_vote.yaml"
)
#回答详情页- 一/二级评论
QUESTION_CONFIG
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/all_backend_api"
,
"question_request.yaml"
)
REPLY_ANSWER
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/question_data"
,
"reply_answer.yaml"
)
#回答详情页
DETAIL_CONFIG
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/all_backend_api"
,
"answer_request.yaml"
)
DETAIL
=
os
.
path
.
join
(
BASE_DIR
,
"backend_auto/test_backend_data/answer_data"
,
"detail.yaml"
)
if
__name__
==
'__main__'
:
print
(
"=========="
,
LIVEYAML_CONFIG
)
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