fix(other): expose rocket config client routes
This commit is contained in:
parent
d94eedce67
commit
7880ae2ec7
@ -10,6 +10,8 @@ import com.red.circle.other.inner.model.dto.rocket.RocketConfigDTO;
|
||||
import com.red.circle.other.inner.model.dto.rocket.RocketStatisticsDTO;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.HashMap;
|
||||
@ -24,6 +26,8 @@ import java.util.stream.Collectors;
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
// 与 Feign 客户端 API_PREFIX 保持一致,避免方法被注册到根路径。
|
||||
@RequestMapping(value = RocketConfigClientApi.API_PREFIX, produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
@RequiredArgsConstructor
|
||||
public class RocketConfigEndpoint implements RocketConfigClientApi {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user