|
@@ -1,4 +1,24 @@
|
|
|
package com.citu.module.menduner.im.api;
|
|
|
|
|
|
-public class ImMessageApi {
|
|
|
+import com.citu.framework.common.pojo.CommonResult;
|
|
|
+import com.citu.module.menduner.im.enums.ApiConstants;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+
|
|
|
+@FeignClient(name = ApiConstants.NAME)
|
|
|
+@Tag(name = "RPC 服务 - 用户账户")
|
|
|
+public interface ImMessageApi {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 发送系统消息
|
|
|
+ * @param reqVo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/im/messages/system")
|
|
|
+ public CommonResult systemMessage(@RequestBody ImCollectMessageReqVo reqVo);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|