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

master
WeiRan 2024-08-09 13:31:01 +08:00
parent 3c3dcbdfd1
commit 857fa85ddd
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ 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;
@ -25,5 +26,5 @@ public interface NacosServiceRemote {
@GetRequest(
url = "/list"
)
public ServiceListResp serviceList(@Body ServiceListReq serviceListReq);
public ServiceListResp serviceList(@Query ServiceListReq serviceListReq);
}