mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
fix: missing field
Signed-off-by: DevDengChao <2325690622@qq.com>
This commit is contained in:
parent
23f83b3557
commit
307229e9d1
@ -56,14 +56,14 @@ html
|
|||||||
fontsize: 16,
|
fontsize: 16,
|
||||||
newlineTag: "br",
|
newlineTag: "br",
|
||||||
uploadJson: "/im/image/upload.html?userid=#{userid}",
|
uploadJson: "/im/image/upload.html?userid=#{userid}",
|
||||||
false,
|
allowFileManager: false,
|
||||||
allowInsertUpload: false, //增加的参数,上传图片后是否插入到当前区域
|
allowInsertUpload: false, //增加的参数,上传图片后是否插入到当前区域
|
||||||
allowImageRemote: false,
|
allowImageRemote: false,
|
||||||
filterMode: true,
|
filterMode: true,
|
||||||
|
|
||||||
items: items,
|
items: items,
|
||||||
htmlTags: {
|
htmlTags: {
|
||||||
['src', 'width', 'height', 'border', 'alt', 'title', 'align', '.width', '.height', '.border'],
|
img: ['src', 'width', 'height', 'border', 'alt', 'title', 'align', '.width', '.height', '.border'],
|
||||||
br: []
|
br: []
|
||||||
},
|
},
|
||||||
afterChange: function () {
|
afterChange: function () {
|
||||||
@ -100,9 +100,9 @@ html
|
|||||||
socket.emit('message', {
|
socket.emit('message', {
|
||||||
appid: "#{appid}",
|
appid: "#{appid}",
|
||||||
userid: "#{userid}",
|
userid: "#{userid}",
|
||||||
"writing",
|
type: "writing",
|
||||||
session: "#{sessionid}",
|
session: "#{sessionid}",
|
||||||
strValue
|
message: strValue
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
words = this.count("text");
|
words = this.count("text");
|
||||||
@ -327,7 +327,7 @@ html
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: "/im/image/upload.html?userid=#{userid}",
|
url: "/im/image/upload.html?userid=#{userid}",
|
||||||
form,
|
data: form,
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false
|
contentType: false
|
||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
@ -640,9 +640,9 @@ html
|
|||||||
socket.emit('message', {
|
socket.emit('message', {
|
||||||
appid: "#{appid}",
|
appid: "#{appid}",
|
||||||
userid: "#{userid}",
|
userid: "#{userid}",
|
||||||
"message",
|
type: "message",
|
||||||
session: "#{sessionid}",
|
session: "#{sessionid}",
|
||||||
message
|
message: message
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (service_end == true) {
|
} else if (service_end == true) {
|
||||||
|
@ -587,10 +587,10 @@ html
|
|||||||
appid: "#{appid}",
|
appid: "#{appid}",
|
||||||
userid: "#{userid}",
|
userid: "#{userid}",
|
||||||
username: "#{username}",
|
username: "#{username}",
|
||||||
"webim",
|
channel: "webim",
|
||||||
type: "message",
|
type: "message",
|
||||||
contextid: "#{sessionid}",
|
contextid: "#{sessionid}",
|
||||||
message
|
message:message
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user