|
@@ -292,6 +292,7 @@ func MsgChanceApprove(header *protocol.RequestHeader, request *protocol.MsgChanc |
|
@@ -292,6 +292,7 @@ func MsgChanceApprove(header *protocol.RequestHeader, request *protocol.MsgChanc |
292
|
}
|
292
|
}
|
293
|
}
|
293
|
}
|
294
|
commItem.MsgId = chance.Id
|
294
|
commItem.MsgId = chance.Id
|
|
|
295
|
+ commItem.MsgTime = chance.MsgTime.Unix() * 1000
|
295
|
//审核完有审核数据
|
296
|
//审核完有审核数据
|
296
|
commItem.Message = chance.Message
|
297
|
commItem.Message = chance.Message
|
297
|
commItem.IsRead = chance.IsRead == 1
|
298
|
commItem.IsRead = chance.IsRead == 1
|
|
@@ -357,6 +358,7 @@ func MsgChanceSubmit(header *protocol.RequestHeader, request *protocol.MsgChance |
|
@@ -357,6 +358,7 @@ func MsgChanceSubmit(header *protocol.RequestHeader, request *protocol.MsgChance |
357
|
//审核完有审核数据
|
358
|
//审核完有审核数据
|
358
|
commItem.Message = chance.Message
|
359
|
commItem.Message = chance.Message
|
359
|
commItem.MsgId = chance.Id
|
360
|
commItem.MsgId = chance.Id
|
|
|
361
|
+ commItem.MsgTime = chance.MsgTime.Unix() * 1000
|
360
|
commItem.ChanceId = chance.ChanceId
|
362
|
commItem.ChanceId = chance.ChanceId
|
361
|
rsp.List = append(rsp.List, commItem)
|
363
|
rsp.List = append(rsp.List, commItem)
|
362
|
}
|
364
|
}
|
|
@@ -431,6 +433,7 @@ func MsgChanceComment(header *protocol.RequestHeader, request *protocol.MsgChanc |
|
@@ -431,6 +433,7 @@ func MsgChanceComment(header *protocol.RequestHeader, request *protocol.MsgChanc |
431
|
commItem.IsRead = chance.IsRead == 1
|
433
|
commItem.IsRead = chance.IsRead == 1
|
432
|
commItem.SourceType = chance.SourceType
|
434
|
commItem.SourceType = chance.SourceType
|
433
|
commItem.MsgId = chance.CommentId
|
435
|
commItem.MsgId = chance.CommentId
|
|
|
436
|
+ commItem.MsgTime = chance.CommentTime.Unix() * 1000
|
434
|
commItem.ChanceId = chance.ChanceId
|
437
|
commItem.ChanceId = chance.ChanceId
|
435
|
rsp.List = append(rsp.List, commItem)
|
438
|
rsp.List = append(rsp.List, commItem)
|
436
|
}
|
439
|
}
|
|
@@ -505,6 +508,7 @@ func MsgChanceThumbUp(header *protocol.RequestHeader, request *protocol.MsgChanc |
|
@@ -505,6 +508,7 @@ func MsgChanceThumbUp(header *protocol.RequestHeader, request *protocol.MsgChanc |
505
|
commItem.IsRead = chance.IsRead == 1
|
508
|
commItem.IsRead = chance.IsRead == 1
|
506
|
commItem.SourceType = chance.SourceType
|
509
|
commItem.SourceType = chance.SourceType
|
507
|
commItem.MsgId = chance.CommentId
|
510
|
commItem.MsgId = chance.CommentId
|
|
|
511
|
+ commItem.MsgTime = chance.CommentTime.Unix() * 1000
|
508
|
commItem.ChanceId = chance.ChanceId
|
512
|
commItem.ChanceId = chance.ChanceId
|
509
|
rsp.List = append(rsp.List, commItem)
|
513
|
rsp.List = append(rsp.List, commItem)
|
510
|
}
|
514
|
}
|