Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
photo_taking
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
7ba0246c
authored
Dec 07, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改地址
parent
30c05d34
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
internal/service/rabbitmq.go
internal/service/rabbitmq.go
View file @
7ba0246c
...
...
@@ -5,9 +5,9 @@ import "github.com/streadway/amqp"
func
SendSubmitOrderMqTOErp
(
content
[]
byte
)(
err
error
)
{
//链接mq
//amqp://huntmouser:jy2y2900@1
19.23.79.136
:5672/
//amqp://huntmouser:jy2y2900@1
72.18.137.23
:5672/
//amqp://guest:guest@192.168.2.232:5672/
conn
,
err
:=
amqp
.
Dial
(
"amqp://hunt
mouser
:jy2y2900@172.18.137.23:5672/"
);
conn
,
err
:=
amqp
.
Dial
(
"amqp://hunt
admin
:jy2y2900@172.18.137.23:5672/"
);
if
err
!=
nil
{
return
...
...
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