|
@ -2,7 +2,6 @@ package com.epmet.resi.group.feign; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.resi.group.dto.group.form.*; |
|
|
import com.epmet.resi.group.dto.group.form.*; |
|
|
import com.epmet.resi.group.dto.group.ResiGroupDTO; |
|
|
import com.epmet.resi.group.dto.group.ResiGroupDTO; |
|
@ -16,6 +15,7 @@ import com.epmet.resi.group.dto.topic.form.*; |
|
|
import com.epmet.resi.group.dto.topic.result.*; |
|
|
import com.epmet.resi.group.dto.topic.result.*; |
|
|
import com.epmet.resi.group.feign.fallback.ResiGroupOpenFeignClientFallback; |
|
|
import com.epmet.resi.group.feign.fallback.ResiGroupOpenFeignClientFallback; |
|
|
import com.epmet.resi.mine.dto.from.MyPartProjectsFormDTO; |
|
|
import com.epmet.resi.mine.dto.from.MyPartProjectsFormDTO; |
|
|
|
|
|
import com.epmet.resi.group.dto.group.form.CreateGroupCodeFormDTO; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.http.MediaType; |
|
|
import org.springframework.http.MediaType; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
@ -24,6 +24,7 @@ import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
import java.util.HashMap; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
import org.springframework.http.MediaType; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|
|
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|
@ -189,13 +190,10 @@ public interface ResiGroupOpenFeignClient { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description 发送内容更新类的微信订阅 |
|
|
* @Description 发送内容更新类的微信订阅 |
|
|
* @param tokenDto |
|
|
|
|
|
* @param sourceId |
|
|
|
|
|
* @param sourceType |
|
|
|
|
|
* @return void |
|
|
* @return void |
|
|
* @Author liushaowen |
|
|
* @Author liushaowen |
|
|
* @Date 2021/1/12 11:22 |
|
|
* @Date 2021/1/12 11:22 |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("resi/group/topic/sendwxmpupdatesubscribe") |
|
|
@PostMapping("resi/group/topic/sendwxmpupdatesubscribe") |
|
|
void sendWxmpUpdateSubscribe(TokenDto tokenDto,String sourceId,String sourceType); |
|
|
void sendWxmpUpdateSubscribe(@RequestBody SendWxmpUpdateSubscribeFormDTO fromDTO); |
|
|
} |
|
|
} |
|
|