1
This commit is contained in:
@@ -74,10 +74,10 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
|
|||||||
IsReplied: int8(mtwmComment.ReplyStatus),
|
IsReplied: int8(mtwmComment.ReplyStatus),
|
||||||
StoreID: storeDetail.ID,
|
StoreID: storeDetail.ID,
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
if orderComment.IsReplied == 0 {
|
if orderComment.IsReplied == 0 {
|
||||||
orderComment.Content = mtwmComment.CommentContent
|
orderComment.Content = mtwmComment.CommentContent
|
||||||
orderComment.CommentCreatedAt = createdTime
|
orderComment.CommentCreatedAt = createdTime
|
||||||
|
} else {
|
||||||
orderComment.Content = mtwmComment.AddComment
|
orderComment.Content = mtwmComment.AddComment
|
||||||
if updatedTime, err := utils.TryStr2Time(mtwmComment.CommentTime); err == nil {
|
if updatedTime, err := utils.TryStr2Time(mtwmComment.CommentTime); err == nil {
|
||||||
orderComment.CommentCreatedAt = updatedTime
|
orderComment.CommentCreatedAt = updatedTime
|
||||||
|
|||||||
Reference in New Issue
Block a user