Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
修复发送钉钉消息获取机器人地址的一个BUG
  • Loading branch information
chanyipiaomiao committed Mar 26, 2018
2 parents e76f749 + bcac55b commit 1c2584c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/notice.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ func SendByDingTalkRobot(messageType, message, title, robotURL string) (bool, er
var url string
if robotURL == "" {
url = beego.AppConfig.String("dingTalkRobot")
} else {
url = robotURL
}
url = robotURL

dingtalk := &hltool.DingTalkClient{
RobotURL: url,
Message: &hltool.DingTalkMessage{
Expand Down

0 comments on commit 1c2584c

Please sign in to comment.