Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
crm_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
c2a96232
authored
Jul 07, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
线上销售离职队列添加钉钉告警
parent
8105a4b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
cmd/queue/online_sales_leave/main.go
cmd/queue/online_sales_leave/main.go
View file @
c2a96232
...
...
@@ -93,6 +93,7 @@ func main() {
for
d
:=
range
msgs
{
fmt
.
Println
(
string
(
d
.
Body
))
json
.
Unmarshal
(
d
.
Body
,
&
sale_id
)
service
.
DingAlert
(
configs
.
Ding_crm_token
,
"线上销售离职队列任务,当前离职人员ID:"
+
strconv
.
Itoa
(
sale_id
.
SaleId
),
""
)
consume
(
sale_id
.
SaleId
)
}
}()
...
...
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