|
@@ -3,12 +3,11 @@ package com.rongwei.safecommon.fegin;
|
|
|
import com.rongwei.rwcommon.base.R;
|
|
|
import com.rongwei.rwcommon.vo.MailDo;
|
|
|
import com.rongwei.rwcommonentity.commonservers.vo.SysNotifyAnnounceVo;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
@FeignClient(value = "rw-common-server",fallback = CXHysitx.class,contextId = "commonFeign")
|
|
@@ -19,4 +18,7 @@ public interface CXCommonFeginClient {
|
|
|
|
|
|
@PostMapping("/mail/sendHtmlMail")
|
|
|
R sendHtmlMail(@RequestBody MailDo Mail);
|
|
|
+
|
|
|
+ @PostMapping("ws/socket/push/app")
|
|
|
+ R pushToWeb(@RequestParam String cid, @RequestParam(required = false) String message);
|
|
|
}
|