aa
This commit is contained in:
@@ -30,6 +30,12 @@ func (c *PurchaseHandler) onOrderComment2(a *jdapi.API, msg *jdapi.CallbackOrder
|
|||||||
ModifyDuration: JDDJ_BAD_COMMENTS_MAX_MODIFY_TIME,
|
ModifyDuration: JDDJ_BAD_COMMENTS_MAX_MODIFY_TIME,
|
||||||
OriginalMsg: string(utils.MustMarshal(result)),
|
OriginalMsg: string(utils.MustMarshal(result)),
|
||||||
}
|
}
|
||||||
|
if orderCommend.Score == 0 {
|
||||||
|
orderCommend.Score = 1
|
||||||
|
}
|
||||||
|
if orderCommend.TagList == "null" {
|
||||||
|
orderCommend.TagList = ""
|
||||||
|
}
|
||||||
if result.CreateTime != nil {
|
if result.CreateTime != nil {
|
||||||
orderCommend.CommentCreatedAt = result.CreateTime.GoTime()
|
orderCommend.CommentCreatedAt = result.CreateTime.GoTime()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user