Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈轩
2016-12-20 19:04:27 +0800
Commit
e23845e1dae4b9f3dbec574cd0ff07251232e9ae
2 parents
f2436476
72a78de3
Merge branch 'release/wap-im' of
http://git.yoho.cn/fe/yohobuywap-node
into release/wap-im
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
apps/serverAPI/im.js
public/js/service/chat/index.js
apps/serverAPI/im.js
View file @
e23845e
...
...
@@ -50,7 +50,7 @@ exports.fetchImHistory = (uid, endTime, pageSize, startTime) => {
encryptedUid
:
encryptedUid
(
uid
)
};
_
.
forEach
({
startTime
,
endTime
},
(
key
,
val
)
=>
{
_
.
forEach
({
startTime
,
endTime
},
(
val
,
key
)
=>
{
val
&&
(
params
[
key
]
=
val
);
});
...
...
public/js/service/chat/index.js
View file @
e23845e
...
...
@@ -392,6 +392,9 @@ var chat = {
var
chatMessage
=
cm
.
chatMessage
;
var
allTypes
=
socketConf
.
recType
;
//设置默认用户头像
cm
.
userHead
=
userAvatar
;
switch
(
cm
.
type
)
{
case
allTypes
.
CU_SEND
:
viewData
.
from
=
'customer'
;
...
...
Please
register
or
login
to post a comment