Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
l y
Jumpserver
Commits
0df8a54c
Commit
0df8a54c
authored
3 years ago
by
xinwen
Browse files
Options
Download
Email Patches
Plain Diff
fix: 腾讯验证码测试不通过
parent
90299a50
pr@dev@fix_sms
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/settings/api/tencent_sms.py
+1
-1
apps/settings/api/tencent_sms.py
with
1 addition
and
1 deletion
+1
-1
apps/settings/api/tencent_sms.py
+
1
-
1
View file @
0df8a54c
...
...
@@ -51,7 +51,7 @@ class TencentSMSTestingAPI(GenericAPIView):
phone_numbers
=
[
test_phone
],
sign_name
=
tencent_verify_sign_name
,
template_code
=
tencent_verify_template_code
,
template_param
=
OrderedDict
(
code
=
'
test
'
)
template_param
=
OrderedDict
(
code
=
'
666666
'
)
)
return
Response
(
status
=
status
.
HTTP_200_OK
,
data
=
{
'msg'
:
_
(
'Test success'
)})
except
APIException
as
e
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help