package com.muyu.common.nacos.remote; import com.dtflys.forest.annotation.BaseRequest; import com.dtflys.forest.annotation.Body; import com.dtflys.forest.annotation.GetRequest; import com.dtflys.forest.annotation.Query; import com.muyu.common.core.constant.Constants; import com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor; import com.muyu.common.nacos.remote.req.ServiceListReq; import com.muyu.common.nacos.remote.resp.ServiceListResp; @BaseRequest( baseURL = Constants.HTTP + "#{nacos.addr}/nacos/v1/ns/service", interceptor = {NacosNamespaceInterceptor.class} ) public interface NacosServerRemote { @GetRequest( url = "/list" ) public ServiceListResp serviceList(@Query ServiceListReq serviceListReq); }