Authored by 陈轩

fix im

1 -/* global gDomains */  
2 'use strict'; 1 'use strict';
3 2
4 const tip = require('plugin/tip'); 3 const tip = require('plugin/tip');
@@ -64,7 +63,7 @@ let api = { @@ -64,7 +63,7 @@ let api = {
64 63
65 // 获取10条历史记录 64 // 获取10条历史记录
66 msghistory: function(uid, encryptedUid, endTime) { 65 msghistory: function(uid, encryptedUid, endTime) {
67 - let url = `${gDomains.imCs}/conversationMessage/pageList`; 66 + let url = '/service/im/fetchHistory';
68 let data = { 67 let data = {
69 uid, 68 uid,
70 encryptedUid 69 encryptedUid
1 /* -------------------------------------- *\ 1 /* -------------------------------------- *\
2 帮助与反馈: 在线客服 2 帮助与反馈: 在线客服
3 \* -------------------------------------- */ 3 \* -------------------------------------- */
4 -@import "../me/order"; 4 +@import "../home/order";
5 @import "chat/layout"; 5 @import "chat/layout";
6 @import "chat/chat"; 6 @import "chat/chat";
7 @import "chat/message"; 7 @import "chat/message";