|
@@ -180,6 +180,7 @@ func SendMsg(param *public.Message, sendStatus int, loginUserName string, loginU
|
|
|
"show_buoy": param.ShowBuoy,
|
|
|
"show_content": param.ShowContent,
|
|
|
"Sign": param.Sign,
|
|
|
+ "menu_name": param.MenuName,
|
|
|
})
|
|
|
if !ok {
|
|
|
return 0, errors.New("发送消息出错")
|
|
@@ -229,6 +230,7 @@ func SendMsg(param *public.Message, sendStatus int, loginUserName string, loginU
|
|
|
"update_user": loginUserName,
|
|
|
"show_buoy": param.ShowBuoy,
|
|
|
"show_content": param.ShowContent,
|
|
|
+ "menu_name": param.MenuName,
|
|
|
})
|
|
|
msgLogId = strconv.FormatInt(msgId, 10)
|
|
|
//如果是定时发送
|
|
@@ -295,6 +297,7 @@ func pushMsg(param *SendMessage, sendStatus int) (int, error) {
|
|
|
"isdel": 1,
|
|
|
"send_userid": param.CallPlatform, //呼叫中心
|
|
|
"sign": 3,
|
|
|
+ "menu_name": param.MenuName,
|
|
|
})
|
|
|
msgLogId = strconv.FormatInt(msgId, 10)
|
|
|
//立即发送
|
|
@@ -373,6 +376,7 @@ func pushMsg(param *SendMessage, sendStatus int) (int, error) {
|
|
|
"msgType": msgType,
|
|
|
"link": param.Link,
|
|
|
"appid": util.AppId,
|
|
|
+ "menuName": param.MenuName,
|
|
|
}
|
|
|
//推送消息
|
|
|
if appVersion > "3.0.3" {
|