作者 yangfu

审核消息提示修改

@@ -76,7 +76,7 @@ const ( @@ -76,7 +76,7 @@ const (
76 76
77 var ( 77 var (
78 MessageApproving = "提交了一条%v机会消息,需要您审核" 78 MessageApproving = "提交了一条%v机会消息,需要您审核"
79 - MessageApproveSuccess = "审核通过提交的%v机会" 79 + MessageApproveSuccess = "审核通过提交的%v机会"
80 MessageApproveReject = "退回了您提交的%v机会" 80 MessageApproveReject = "退回了您提交的%v机会"
81 81
82 MessageZanChance = "点赞了您发布的机会" 82 MessageZanChance = "点赞了您发布的机会"
@@ -14,9 +14,9 @@ import ( @@ -14,9 +14,9 @@ import (
14 14
15 var ( 15 var (
16 MessageApproving = "提交了一条%v机会消息,需要您审核" 16 MessageApproving = "提交了一条%v机会消息,需要您审核"
17 - MessageApproveSuccess = "审核通过提交的%v机会" 17 + MessageApproveSuccess = "审核通过提交的%v机会"
18 MessageApproveReject = "退回了您提交的%v机会" 18 MessageApproveReject = "退回了您提交的%v机会"
19 - MessageApproveAutoPass = "自动审核通过提交的%v机会" 19 + MessageApproveAutoPass = "自动审核通过提交的%v机会"
20 ) 20 )
21 21
22 //发送审批消息 22 //发送审批消息
@@ -328,13 +328,13 @@ func MsgChanceApprove(header *protocol.RequestHeader, request *protocol.MsgChanc @@ -328,13 +328,13 @@ func MsgChanceApprove(header *protocol.RequestHeader, request *protocol.MsgChanc
328 commItem.Chance = item 328 commItem.Chance = item
329 } 329 }
330 330
331 - if chance.ReviewStatus == protocol.ReviewStatusPass {  
332 - var approveData *protocol.ApproveData  
333 - utils.JsonUnmarshal(chance.ApproveData, &approveData)  
334 - if approveData != nil {  
335 - commItem.Score = approveData.Score  
336 - }  
337 - } 331 + //if chance.ReviewStatus == protocol.ReviewStatusPass {
  332 + // var approveData *protocol.ApproveData
  333 + // utils.JsonUnmarshal(chance.ApproveData, &approveData)
  334 + // if approveData != nil {
  335 + // commItem.Score = approveData.Score
  336 + // }
  337 + //}
338 commItem.MsgId = chance.Id 338 commItem.MsgId = chance.Id
339 commItem.MsgTime = chance.MsgTime.Unix() * 1000 339 commItem.MsgTime = chance.MsgTime.Unix() * 1000
340 //审核完有审核数据 340 //审核完有审核数据