mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 01:12:16 +08:00
Update README_ZH.md
Fix the redirect in README_ZH
This commit is contained in:
parent
465ead47d0
commit
7ee8ab5753
@ -1253,7 +1253,7 @@ Gin 允许默认只使用一个 html 模板。 检查[多模板渲染](https://g
|
||||
|
||||
### 重定向
|
||||
|
||||
Issuing a HTTP redirect is easy. Both internal and external locations are supported.
|
||||
发起HTTP重定向很简单。支持内部和外部重定向。
|
||||
|
||||
```go
|
||||
r.GET("/test", func(c *gin.Context) {
|
||||
@ -1262,7 +1262,7 @@ r.GET("/test", func(c *gin.Context) {
|
||||
```
|
||||
|
||||
|
||||
发出路由器重定向,使用如下的“HandleContext”。
|
||||
发起路由器内部重定向,使用如下的`HandleContext`。
|
||||
|
||||
``` go
|
||||
r.GET("/test", func(c *gin.Context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user