mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-28 10:50:24 +08:00
修复发送站内消息时将标题作为内容的Bug
This commit is contained in:
@@ -155,7 +155,7 @@ func (this *MessageDAO) CreateNodeMessage(tx *dbs.Tx, role string, clusterId int
|
|||||||
|
|
||||||
// CreateMessage 创建普通消息
|
// CreateMessage 创建普通消息
|
||||||
func (this *MessageDAO) CreateMessage(tx *dbs.Tx, adminId int64, userId int64, messageType MessageType, level string, subject string, body string, paramsJSON []byte) error {
|
func (this *MessageDAO) CreateMessage(tx *dbs.Tx, adminId int64, userId int64, messageType MessageType, level string, subject string, body string, paramsJSON []byte) error {
|
||||||
body = utils.LimitString(subject, 100)
|
subject = utils.LimitString(subject, 100)
|
||||||
body = utils.LimitString(body, 1024)
|
body = utils.LimitString(body, 1024)
|
||||||
|
|
||||||
var op = NewMessageOperator()
|
var op = NewMessageOperator()
|
||||||
|
|||||||
Reference in New Issue
Block a user