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
a3a1b41d
Commit
a3a1b41d
authored
Nov 02, 2020
by
yz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加流量线测试群提醒
parent
c83a0de6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sendCeshiMessage.py
sender/sendCeshiMessage.py
+9
-1
No files found.
sender/sendCeshiMessage.py
View file @
a3a1b41d
import
os
import
sys
# 把项目的根目录通过sys.path.append添加为执行时的环境变量
current_directory
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
root_path
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
current_directory
)
+
os
.
path
.
sep
+
"."
)
sys
.
path
.
append
(
root_path
)
from
servers.ddMessageServer
import
DDMessage
import
time
# 机器人提醒地址,测试群
dingTalkUrl
=
"https://oapi.dingtalk.com/robot/send?access_token=fb8da62f0af606820fe8bdfdf8ea261d468f09b57c22faaa454d45855ea82eef"
# 密钥,签名算法需要,测试群
...
...
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