init
This commit is contained in:
@@ -27,6 +27,13 @@ public class Yunxin {
|
||||
@Resource
|
||||
private ImMessageClient messageClient;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param toUid 接收者ID
|
||||
* @param fromUid 发送者ID
|
||||
* @param data 数据
|
||||
* @return
|
||||
*/
|
||||
public YxDataR<SendMsgResp> sendTo(Long toUid,Long fromUid,Object data){
|
||||
SendMsgReq req = new SendMsgReq();
|
||||
req.setFrom(fromUid == null ? yunxinProperties.getDefaultFromUid() : fromUid+"");
|
||||
|
||||
Reference in New Issue
Block a user