From 0dc5222f7e25ca3c74038aff3a77853168e3729f Mon Sep 17 00:00:00 2001 From: Administrator <450292408@qq.com> Date: Mon, 20 Sep 2021 09:25:23 +0000 Subject: [PATCH] docs: update wg-basic/remote-rest --- wg-basic/remote-rest.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/wg-basic/remote-rest.md b/wg-basic/remote-rest.md index ae5e8d1..1de59e2 100644 --- a/wg-basic/remote-rest.md +++ b/wg-basic/remote-rest.md @@ -2,7 +2,7 @@ title: 8.REST远程调用工具 description: REST远程调用工具 published: true -date: 2021-09-20T09:22:59.074Z +date: 2021-09-20T09:25:22.062Z tags: wg-basic, remote editor: markdown dateCreated: 2021-09-20T08:24:01.498Z @@ -36,14 +36,8 @@ dateCreated: 2021-09-20T08:24:01.498Z |@RemotePutMethod|请求的地址|方法|调用该接口时,发送 **PUT** 请求| @RemotePutMethod("/api/p1/{params1}") | 3. 参数注解 -|名称|参数|位置|说明|示例| -|-|-|-|-|-| -|@RemoteHeaderParams|header内容|参数|发送请求时,会将参数自动添加到header中,一颗有多个,如果重复以最后一个为准| `@RemoteHeaderParams("h1") String h1` | -|@RemotePathParams|path参数|参数|路径中的参数值,数量应与路径中变量一致,不能有重复值,请求时会自动替换| `@RemotePathParams("p1") String p1` | -|@RemoteQueryParams|请求参数|参数|请求时的参数,可以有多个,重复以最后一个为准| `@RemotePathParams("q1") String q1` | -|@RemoteServerParams|服务地址|参数|该参数 **必填**,需以http或https开头| `@RemoteServerParams String server` | -|@RemoteJsonBodyParams|Json对象|参数|该参数在POST或PUT请求时必填,类型为Object| `@RemoteJsonBodyParams User user` | + # 示例 ```java