fin:()修复字符集异常
parent
f8f39f5596
commit
421420706f
|
@ -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;
|
||||
|
@ -16,7 +17,7 @@ import com.muyu.common.nacos.remote.resp.ServiceListResp;
|
|||
* @Date:2024/8/9 16:59
|
||||
*/
|
||||
@BaseRequest(
|
||||
baseURL = Constants.HTTP+"#={nacos.addr}/nacos/v1/ns/service",
|
||||
baseURL = Constants.HTTP+"#{nacos.addr}/nacos/v1/ns/service",
|
||||
interceptor = {NacosNamespaceInterceptor.class}
|
||||
)
|
||||
public interface NacosServerRemote {
|
||||
|
@ -24,5 +25,5 @@ public interface NacosServerRemote {
|
|||
@GetRequest(
|
||||
url = "/list"
|
||||
)
|
||||
public ServiceListResp serviceList(@Body ServiceListReq serviceListReq);
|
||||
public ServiceListResp serviceList(@Query ServiceListReq serviceListReq);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue