|
@@ -44,7 +44,7 @@ func (l *MaterialSaveLogic) MaterialSave(req *types.MaterialSaveReq) (resp *type
|
|
|
return &types.BiResp{Error_code: res.ErrorCode, Error_msg: res.ErrorMsg}, err
|
|
|
}
|
|
|
msgId := res.MsgId
|
|
|
- log.Println(msgId)
|
|
|
+ //log.Println("***************88", msgId)
|
|
|
res1, err := l.svcCtx.MessageCenterRpc.UpdateMsgSummary(l.ctx, &messageclient.UpdateMsgSummaryReq{
|
|
|
MsgLogId: msgId,
|
|
|
GroupId: 11,
|
|
@@ -63,9 +63,9 @@ func (l *MaterialSaveLogic) MaterialSave(req *types.MaterialSaveReq) (resp *type
|
|
|
Appid: "10000",
|
|
|
MsgLogId: msgId,
|
|
|
Row4: "",
|
|
|
- AppPushUrl: fmt.Sprintf("/jy_mobile/message/Detail?msgLogId=%d", msgId),
|
|
|
- WxPushUrl: fmt.Sprintf("/jy_mobile/message/Detail?msgLogId=%d", msgId),
|
|
|
- IosPushUrl: fmt.Sprintf("/jy_mobile/message/Detail?msgLogId=%d", msgId),
|
|
|
+ AppPushUrl: fmt.Sprintf("/jy_mobile/message/materialDetail?msgLogId=%d&id=%d", msgId, msgId),
|
|
|
+ WxPushUrl: fmt.Sprintf("/jy_mobile/message/materialDetail?msgLogId=%d&id=%d", msgId, msgId),
|
|
|
+ IosPushUrl: fmt.Sprintf("/jy_mobile/message/materialDetail?msgLogId=%d&id=%d", msgId, msgId),
|
|
|
})
|
|
|
if res2.Code < 1 || err != nil {
|
|
|
return &types.BiResp{Error_code: -1, Error_msg: res2.Message}, err
|