We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3553a50 commit 2a1766bCopy full SHA for 2a1766b
docs/zh/05_web开发/13.md
@@ -30,12 +30,12 @@ public class CaptchaController {
30
31
```
32
33
-#### 6.13.2.HttpResponseUtils.enableCORS
+#### HttpServerResponseUtils.enableCORS
34
35
如果你为了更高的性能可以不使用@EnableCORS,使用 HttpResponseUtils.enableCORS 方法
36
代码示例
37
38
```java
39
HttpResponse response = Resps.json(request, "OK");
40
-HttpResponseUtils.enableCORS(response, new HttpCors());
+HttpServerResponseUtils.enableCORS(response, new HttpCors());
41
0 commit comments