Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

杨树贤 / kefu_server

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 99b0cec3 authored 5 years ago by keith's avatar keith
Browse files
Options
  • _('Browse Files')
  • Download
  • Email Patches
  • Plain Diff

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

parent 491c803b
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 3 deletions
  • controllers/message_controller.go
  • controllers/public_controller.go
controllers/message_controller.go
View file @ 99b0cec3
...@@ -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 {
......
This diff is collapsed. Click to expand it.
controllers/public_controller.go
View file @ 99b0cec3
...@@ -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
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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