作者 yangfu

审批自动通过

... ... @@ -446,6 +446,7 @@ func setChanceAutoPass(header *protocol.RequestHeader, chance *models.Chance, or
approveData.PublicData = protocol.PublicData{PublishStatus: protocol.PublicToCompany}
chance.ApproveData = common.AssertJson(approveData)
chance.ApproveTime = time.Now()
chance.ReviewStatus = protocol.ReviewStatusPass
if err = agg.SendApproveMsg(chance.UserId, "",
header.CompanyId, chance.Id, chance.ChanceTypeId, protocol.ReviewStatusAutoPass); err != nil {
... ...