- 介绍
- 方法
- sendMsg(String userId, String title, String content, String type) : DynaBean
- sendMsg(String userId, String title, String content, String type, String pkValue, List < UserMsgAppInfo > userMsgAppInfos) : DynaBean
- sendMsg(String username, String userId, String title, String content, String type, String typeName,String pkValue, List< UserMsgAppInfo > userMsgAppInfos):DynaBean
介绍
首页通知消息
方法
sendMsg(String userId, String title, String content, String type) : DynaBean
发送首页通知消息
- 参数说明:Object
| 参数名 | 类型 | 必填 | 默认值 | 说明 | 
|---|---|---|---|---|
| userId | String | 是 | 消息接收人 | |
| title | String | 是 | 消息标题 | |
| content | String | 是 | 消息内容 | |
| type | String | 否 | 类型:WF(流程),MSG(消息) | 
- 返回数据说明:void 
- 示例: - userMsgManaer.sendMsg(i, title, context, "WY")
- 注意 
sendMsg(String userId, String title, String content, String type, String pkValue, List < UserMsgAppInfo > userMsgAppInfos) : DynaBean
发送短信
- 参数说明:Object
| 参数名  | 类型  | 必填  |  默认值 | 说明  |
| userId  | String  | 是  |   | 消息接收人  |
| title  | String  | 是  |   | 消息标题  |
| content  | String  | 是  |   | 消息内容  |
| type  | String  | 否  |   | 类型:WF(流程),MSG(消息)  |
| pkValue  | String  |否 |   | 业务数据主键  |
| userMsgAppInfos  | List < UserMsgAppInfo >  | 否 |   | APP信息  |
- 返回数据说明:void 
- 示例: - UserMsgAppInfo appInfo = new UserMsgAppInfo("查看微邮", "PLUGIN", "JE-PLUGIN-MICROMAIL", "form", params); userMsgAppInfos.add(appInfo); userMsgManaer.sendMsg(i, title, context, "WY", pkValue, userMsgAppInfos);
- 注意 
sendMsg(String username, String userId, String title, String content, String type, String typeName,String pkValue, List< UserMsgAppInfo > userMsgAppInfos):DynaBean
发送短信
- 参数说明:Object
| 参数名 | 类型 | 必填 | 默认值 | 说明 | 
|---|---|---|---|---|
| userId | String | 是 | 消息接收人 | |
| title | String | 是 | 消息标题 | |
| content | String | 是 | 消息内容 | |
| type | String | 否 | 类型:WF(流程),MSG(消息) | |
| typeName | String | 否 | 类型名称 | |
| pkValue | String | 否 | 业务数据主键 | |
| userMsgAppInfos | List < UserMsgAppInfo > | 否 | APP信息 | 
- 返回数据说明:void 
- 示例: - UserMsgAppInfo appInfo=new UserMsgAppInfo("查看流程","FUNC",processInfo.getFuncCode(),"form",params); userMsgAppInfos.add(appInfo); DynaBean userMsg=userMsgManaer.sendMsg(user.getStr("USERNAME"), user.getStr("USERID"),title, context.toString(), "WF", "流程",dynaBean.getStr(processInfo.getPkCode()),userMsgAppInfos); }
- 注意 
最后编辑: 肖海杰  文档更新时间: 2023-04-26 08:43   作者:肖海杰
