Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a6dfb466
authored
Mar 15, 2024
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整
parent
35834e06
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
cms/user_login_mail/main.go
cms/user_login_mail/main.go
View file @
a6dfb466
...
@@ -102,8 +102,8 @@ func send_mail(data string) bool {
...
@@ -102,8 +102,8 @@ func send_mail(data string) bool {
res
:=
util
.
HttpPost
(
crm_url
,
data
,
header_map
)
res
:=
util
.
HttpPost
(
crm_url
,
data
,
header_map
)
// 钉钉通知 默认参数
// 钉钉通知 默认参数
var
mobile
[]
string
=
make
([]
string
,
0
)
//
var mobile []string = make([]string, 0)
var
isAtAll
bool
=
false
//
var isAtAll bool = false
if
res
==
nil
{
if
res
==
nil
{
// ding.Send(util.Configs.Ding_msg.Webhook,"监控告警", "后台用户登录邮件接口请求失败,原因:" + string(res), mobile, isAtAll)
// ding.Send(util.Configs.Ding_msg.Webhook,"监控告警", "后台用户登录邮件接口请求失败,原因:" + string(res), mobile, isAtAll)
...
...
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