Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
kefu_server
This project
Loading...
Sign in
Toggle navigation
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
Apr 13, 2020
by
keith
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复回复工单处理状态问题,修复管理员查看服务记录消息错误问题
parent
491c803b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
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
{
...
...
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment