...
|
...
|
@@ -78,11 +78,13 @@ func sendApproveMsg(header *protocol.RequestHeader, receiverId int64, name strin |
|
|
chanceType *models.ChanceType
|
|
|
format string
|
|
|
)
|
|
|
jsonData := common.AssertJson(data)
|
|
|
switch reviewStatus {
|
|
|
case protocol.ReviewStatusAuditging:
|
|
|
format = MessageApproving
|
|
|
break
|
|
|
case protocol.ReviewStatusReturn:
|
|
|
jsonData = ""
|
|
|
format = MessageApproveReject
|
|
|
break
|
|
|
case protocol.ReviewStatusPass:
|
...
|
...
|
@@ -109,8 +111,9 @@ func sendApproveMsg(header *protocol.RequestHeader, receiverId int64, name strin |
|
|
IsPublic: 0,
|
|
|
CreateAt: time.Now(),
|
|
|
ChanceId: chanceId,
|
|
|
Data: common.AssertJson(data),
|
|
|
//Data: jsonData, ,
|
|
|
}
|
|
|
userMsg.Data = jsonData
|
|
|
if header != nil {
|
|
|
userMsg.SenderUserId = header.UserId
|
|
|
}
|
...
|
...
|
|