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