Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
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
3bcea034
authored
May 24, 2019
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
同下
parent
e82901db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Controllers/MessageApiController.php
app/Http/Controllers/MessageApiController.php
View file @
3bcea034
...
@@ -594,7 +594,7 @@ class MessageApiController extends Controller
...
@@ -594,7 +594,7 @@ class MessageApiController extends Controller
'expire_time'
=>
time
()
+
3600
*
2
'expire_time'
=>
time
()
+
3600
*
2
];
];
// dump($_data);
// dump($_data);
$msg_arr
[
'data'
]
=
$_data
;
$msg_arr
[
'data'
]
=
json_encode
(
$_data
)
;
$msg
=
new
AMQPMessage
(
json_encode
(
$msg_arr
));
$msg
=
new
AMQPMessage
(
json_encode
(
$msg_arr
));
$channel
->
basic_publish
(
$msg
,
$exchange
);
$channel
->
basic_publish
(
$msg
,
$exchange
);
}
}
...
...
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