作者 yangfu

更新已读

... ... @@ -469,12 +469,13 @@ func ChanceApproveProcess(header *protocol.RequestHeader, chance *models.Chance)
item := &protocol.ProcessItem{
Id: process.Id,
ReviewStatus: int(process.ReviewStatus),
ApproveWay: int(process.AuditFlowType),
ApproveWay: int(process.ActionType),
ApproveType: process.AuditFlowType,
Uid: process.Uid,
Name: process.UserName,
}
if item.ApproveWay == protocol.AuditBySpecailUser {
item.ApproveWay = protocol.AuditByUser
if item.ApproveType == protocol.AuditBySpecailUser {
item.ApproveType = protocol.AuditByUser
}
if item.ReviewStatus != protocol.ReviewStatusAuditging {
item.ApproveTime = process.ApproveTime.Unix() * 1000
... ...