- fix bug in updateBillsInfo
This commit is contained in:
@@ -91,8 +91,8 @@ func (c *PurchaseHandler) onOrderComment(msg *jdapi.CallbackOrderMsg) (err error
|
||||
}
|
||||
}
|
||||
if score <= JX_BAD_COMMENTS_MAX_LEVEL || !isNewComment { // 如果是直接非差评,忽略
|
||||
comment.Createtime = utils.Timestamp2Str(utils.MustInterface2Int64(result["createTime"].(map[string]interface{})["time"]) / 1000)
|
||||
if isNewComment || score <= JX_BAD_COMMENTS_MAX_LEVEL {
|
||||
comment.Createtime = utils.Timestamp2Str(utils.MustInterface2Int64(result["createTime"].(map[string]interface{})["time"]) / 1000)
|
||||
comment.Msg = string(utils.MustMarshal(result))
|
||||
comment.Score = score
|
||||
comment.Scorecontent = utils.Interface2String(result["score4Content"])
|
||||
|
||||
Reference in New Issue
Block a user