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
9f2989bb
Commit
9f2989bb
authored
Aug 18, 2021
by
edz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送验证码
parent
42a634a6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
0 deletions
+18
-0
verification_code_request.py
all_backend_api/verification_code_request.py
+18
-0
verification_code_request.yaml
all_backend_api/verification_code_request.yaml
+0
-0
__init__.py
test_backend_case/verification_code_case/__init__.py
+0
-0
test_verification_code.py
...end_case/verification_code_case/test_verification_code.py
+0
-0
__init__.py
test_backend_data/verification_code_data/__init__.py
+0
-0
verification_code.yaml
...ackend_data/verification_code_data/verification_code.yaml
+0
-0
No files found.
all_backend_api/verification_code_request.py
0 → 100644
View file @
9f2989bb
import
path_setting
from
in_common.base_request
import
BaseRequest
#获取验证码
class
verification_code_request
(
BaseRequest
):
def
__init__
(
self
):
self
.
data
=
self
.
api_load
(
path_setting
.
VERIFICATION_CODE_CONFIG
)
#获取验证码
def
verification_code
(
self
,
phone
,
type
,
verifier
):
self
.
params
[
"phone"
]
=
phone
self
.
params
[
"type"
]
=
type
self
.
params
[
"verifier"
]
=
verifier
return
self
.
api_send
(
self
.
data
[
"verfication_code"
])
if
__name__
==
'__main__'
:
# 个人中心
print
(
user_request
()
.
personal_center
())
\ No newline at end of file
all_backend_api/verification_code_request.yaml
0 → 100644
View file @
9f2989bb
test_backend_case/verification_code_case/__init__.py
0 → 100644
View file @
9f2989bb
test_backend_case/verification_code_case/test_verification_code.py
0 → 100644
View file @
9f2989bb
test_backend_data/verification_code_data/__init__.py
0 → 100644
View file @
9f2989bb
test_backend_data/verification_code_data/verification_code.yaml
0 → 100644
View file @
9f2989bb
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