fix():修复forest请求nacosApi接口应为路径参数的问题

master
zzh 2024-08-05 19:57:51 +08:00
parent 74742fc5a9
commit ef719f65bd
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ import com.bwie.nacos.remote.req.ServiceListReq;
import com.bwie.nacos.remote.resp.ServiceListResp; import com.bwie.nacos.remote.resp.ServiceListResp;
import com.dtflys.forest.annotation.BaseRequest; import com.dtflys.forest.annotation.BaseRequest;
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;
/** /**
@ -24,6 +24,6 @@ public interface NacosServiceRemote {
@GetRequest( @GetRequest(
url = "/list" url = "/list"
) )
public ServiceListResp serviceList(@Body ServiceListReq serviceListReq); public ServiceListResp serviceList(@Query ServiceListReq serviceListReq);
} }