Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InterfaceAutoTest
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
TestAuto
InterfaceAutoTest
Commits
268e348e
Commit
268e348e
authored
Apr 30, 2021
by
fanxun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决冲突
parent
f6204b8a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
common/db.py
+0
-2
common/utils.py
+0
-18
No files found.
common/db.py
View file @
268e348e
...
@@ -24,5 +24,4 @@ if __name__ == '__main__':
...
@@ -24,5 +24,4 @@ if __name__ == '__main__':
# r = RedisString(0).get('edl:sms_value:17822000010:MOBILE_REGISTER')
# r = RedisString(0).get('edl:sms_value:17822000010:MOBILE_REGISTER')
# print(r)
# print(r)
# print(str(r)[-7:-1])
# print(str(r)[-7:-1])
pass
pass
\ No newline at end of file
common/utils.py
View file @
268e348e
...
@@ -2,9 +2,6 @@ import requests
...
@@ -2,9 +2,6 @@ import requests
import
json
import
json
from
config
import
BaseConfig
from
config
import
BaseConfig
class
RedisBase
:
pass
def
dingTalk
(
webhook
,
message
):
def
dingTalk
(
webhook
,
message
):
"""发送消息到钉钉群"""
"""发送消息到钉钉群"""
data
=
{
'msgtype'
:
'text'
,
'text'
:
{
"content"
:
message
},
data
=
{
'msgtype'
:
'text'
,
'text'
:
{
"content"
:
message
},
...
@@ -12,17 +9,3 @@ def dingTalk(webhook, message):
...
@@ -12,17 +9,3 @@ def dingTalk(webhook, message):
post_data
=
json
.
dumps
(
data
)
post_data
=
json
.
dumps
(
data
)
response
=
requests
.
post
(
webhook
,
headers
=
BaseConfig
.
headers
,
data
=
post_data
)
response
=
requests
.
post
(
webhook
,
headers
=
BaseConfig
.
headers
,
data
=
post_data
)
return
response
.
text
return
response
.
text
qqqqqq
aaaaaa
aaaaaa
21323213
12321321
1233213
123321
135123
\ No newline at end of file
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