init
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package com.ruoyi.yunxin.client;
|
||||
|
||||
import com.dtflys.forest.annotation.BaseRequest;
|
||||
import com.dtflys.forest.annotation.Body;
|
||||
import com.dtflys.forest.annotation.Post;
|
||||
import com.ruoyi.yunxin.interceptor.GlodonTokenInterceptor;
|
||||
import com.ruoyi.yunxin.req.SendAttachMsgReq;
|
||||
import com.ruoyi.yunxin.req.SendBatchMsgReq;
|
||||
import com.ruoyi.yunxin.req.SendMsgReq;
|
||||
import com.ruoyi.yunxin.resp.SendMsgResp;
|
||||
@@ -12,14 +14,24 @@ import com.ruoyi.yunxin.resp.YxDataR;
|
||||
@BaseRequest(baseURL = "${baseUrl}", interceptor = GlodonTokenInterceptor.class)
|
||||
public interface ImMessageClient {
|
||||
|
||||
/**
|
||||
* 发送自定义消息
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@Post(url = "/nimserver/msg/sendMsg.action")
|
||||
YxDataR<SendMsgResp> sendMsg(SendMsgReq req);
|
||||
YxDataR<SendMsgResp> sendMsg(@Body SendMsgReq req);
|
||||
|
||||
@Post(url = "/nimserver/msg/sendBatchMsg.action")
|
||||
YxDataR<YxCommonR> sendBatchMsg(SendBatchMsgReq req);
|
||||
YxDataR<YxCommonR> sendBatchMsg(@Body SendBatchMsgReq req);
|
||||
|
||||
// @Post(url = "/nimserver/msg/sendAttachMsg.action")
|
||||
// YxR<SendMsgResp> sendAttachMsg(SendMsgReq req);
|
||||
/**
|
||||
* 发送自定义系统消息
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@Post(url = "/nimserver/msg/sendAttachMsg.action")
|
||||
YxDataR<YxCommonR> sendAttachMsg(@Body SendAttachMsgReq req);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user