Compare commits

..

No commits in common. "eee562dbde9ca675861f38b218a8907061b72687" and "28bd3498d36d2697cf324e7ba000e3ef2284363c" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

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