1
0
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:
DevDengChao 2024-12-05 16:49:21 +08:00
parent 23f83b3557
commit 307229e9d1
2 changed files with 9 additions and 9 deletions

View File

@ -56,14 +56,14 @@ html
fontsize: 16,
newlineTag: "br",
uploadJson: "/im/image/upload.html?userid=#{userid}",
false,
allowFileManager: false,
allowInsertUpload: false, //增加的参数,上传图片后是否插入到当前区域
allowImageRemote: false,
filterMode: true,
items: items,
htmlTags: {
['src', 'width', 'height', 'border', 'alt', 'title', 'align', '.width', '.height', '.border'],
img: ['src', 'width', 'height', 'border', 'alt', 'title', 'align', '.width', '.height', '.border'],
br: []
},
afterChange: function () {
@ -100,9 +100,9 @@ html
socket.emit('message', {
appid: "#{appid}",
userid: "#{userid}",
"writing",
type: "writing",
session: "#{sessionid}",
strValue
message: strValue
});
}
words = this.count("text");
@ -327,7 +327,7 @@ html
$.ajax({
type: 'POST',
url: "/im/image/upload.html?userid=#{userid}",
form,
data: form,
processData: false,
contentType: false
}).done(function (data) {
@ -640,9 +640,9 @@ html
socket.emit('message', {
appid: "#{appid}",
userid: "#{userid}",
"message",
type: "message",
session: "#{sessionid}",
message
message: message
});
}
} else if (service_end == true) {

View File

@ -587,10 +587,10 @@ html
appid: "#{appid}",
userid: "#{userid}",
username: "#{username}",
"webim",
channel: "webim",
type: "message",
contextid: "#{sessionid}",
message
message:message
});
}
}