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
5d4de97c
authored
Jun 18, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整exchange
parent
c2beb00f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
cmd/queue/bom_order/main.go
cmd/queue/bom_order/main.go
View file @
5d4de97c
...
...
@@ -89,7 +89,7 @@ func main() {
service
.
DingAlert
(
configs
.
Ding_crm_token
,
"bom_crm队列任务,声明queue失败,原因:"
+
err
.
Error
(),
""
)
}
err
=
ch
.
QueueBind
(
q
.
Name
,
"bom_crm"
,
"bom"
,
false
,
nil
)
err
=
ch
.
QueueBind
(
q
.
Name
,
"bom_crm"
,
"bom
_crm
"
,
false
,
nil
)
if
nil
!=
err
{
logger
.
Info
(
"Failed to bind a queue and exchange "
,
err
.
Error
())
service
.
DingAlert
(
configs
.
Ding_crm_token
,
"bom_crm队列任务,队列绑定失败,原因:"
+
err
.
Error
(),
""
)
...
...
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