diff --git a/business/partner/purchase/jd/order_comment.go b/business/partner/purchase/jd/order_comment.go index 4252d3e26..d521ceacb 100644 --- a/business/partner/purchase/jd/order_comment.go +++ b/business/partner/purchase/jd/order_comment.go @@ -30,6 +30,12 @@ func (c *PurchaseHandler) onOrderComment2(a *jdapi.API, msg *jdapi.CallbackOrder ModifyDuration: JDDJ_BAD_COMMENTS_MAX_MODIFY_TIME, OriginalMsg: string(utils.MustMarshal(result)), } + if orderCommend.Score == 0 { + orderCommend.Score = 1 + } + if orderCommend.TagList == "null" { + orderCommend.TagList = "" + } if result.CreateTime != nil { orderCommend.CommentCreatedAt = result.CreateTime.GoTime() }