Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
钉
钉钉群通知
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
yaozheng
钉钉群通知
Commits
d4a12bdc
Commit
d4a12bdc
authored
Aug 30, 2021
by
TesterYao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加流量线测试群提醒
parent
93f76909
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
124 deletions
+42
-124
pangu.py
robot/pangu.py
+15
-0
task.py
robot/task.py
+27
-124
No files found.
robot/pangu.py
0 → 100644
View file @
d4a12bdc
import
requests
URL
=
'https://engine.tuia.cn/apollo/getIdMapStrByKeyStr?keyStr=onlin.watch.list'
def
get_watcher_list
(
business
):
try
:
r
=
requests
.
get
(
url
=
URL
)
if
r
.
ok
:
print
(
r
.
json
())
return
r
.
json
()
.
get
(
business
)
else
:
get_watcher_list
(
'cx'
)
except
:
get_watcher_list
(
'cx'
)
robot/task.py
View file @
d4a12bdc
This diff is collapsed.
Click to expand it.
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