Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
6 years ago
Commit
f2020cc899c3bd6a924056a9e229eac94c66b994
2 parents
b607e2c2
b0dd6fe7
Merge branch 'hotfix/im' into 'master'
bug:用户提交评价会携带上一次消息的内容 See merge request
!438
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
package.json
public/js/service/socket/send.js
package.json
View file @
f2020cc
{
"name"
:
"yohobuy-node"
,
"version"
:
"6.9.
4
"
,
"version"
:
"6.9.
7
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/js/service/socket/send.js
View file @
f2020cc
...
...
@@ -59,8 +59,12 @@ exports.order = function(content) {
* 评价完成
*/
exports
.
completeEval
=
function
()
{
var
TEXT_TYPE
=
1
;
// 文本消息
if
(
chat
.
isOpen
())
{
conMSG
.
type
=
recTypes
.
EVAL_NOTICE
;
conMSG
.
chatMessage
.
type
=
TEXT_TYPE
;
conMSG
.
chatMessage
.
content
=
''
;
_send
(
conMSG
);
}
};
...
...
Please
register
or
login
to post a comment