Commit 99b0cec3 by keith

修复回复工单处理状态问题,修复管理员查看服务记录消息错误问题

parent 491c803b
...@@ -48,7 +48,6 @@ func messageList(c *MessageController, isHistory bool) { ...@@ -48,7 +48,6 @@ func messageList(c *MessageController, isHistory bool) {
// GetAdminAuthInfo // GetAdminAuthInfo
auth := c.GetAdminAuthInfo() auth := c.GetAdminAuthInfo()
messagePaginationDto.Service = auth.UID
// Timestamp == 0 // Timestamp == 0
if messagePaginationDto.Timestamp == 0 { if messagePaginationDto.Timestamp == 0 {
......
...@@ -675,9 +675,9 @@ func (c *PublicController) ReplyWorkOrder() { ...@@ -675,9 +675,9 @@ func (c *PublicController) ReplyWorkOrder() {
var params = orm.Params{} var params = orm.Params{}
// change status // change status
status := 2 status := 1
if !isUser { if !isUser {
status = 1 status = 2
params["LastReply"] = workOrderComment.AID params["LastReply"] = workOrderComment.AID
// send email message // send email message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment