Skip to content

Commit

Permalink
动态URL doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chentianming11 committed Jun 7, 2022
1 parent 8e720b0 commit 4ba2dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ public class DownloadTest {

### 动态URL

使用`@url`注解可实现动态URL。
使用`@url`注解可实现动态URL。此时,`baseUrl`配置任意合法url即可。例如: `http://github.com/` 。运行时只会根据`@Url`地址发起请求。

**注意:`@url`必须放在方法参数的第一个位置。原有定义`@GET`、`@POST`等注解上,不需要定义端点路径**!

Expand Down

0 comments on commit 4ba2dd7

Please sign in to comment.