mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
⚡ 优化. image code check path -> /code/check
This commit is contained in:
1 parent
7e6d641e4e
commit
53390e748d
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ public class RouterFunctionConfiguration {
|
||||
return RouterFunctions.route(
|
||||
RequestPredicates.path("/code")
|
||||
.and(RequestPredicates.accept(MediaType.TEXT_PLAIN)), imageCodeCreateHandler)
|
||||
.andRoute(RequestPredicates.POST("/check")
|
||||
.andRoute(RequestPredicates.POST("/code/check")
|
||||
.and(RequestPredicates.accept(MediaType.ALL)), imageCodeCheckHandler)
|
||||
.andRoute(RequestPredicates.GET("/swagger-resources")
|
||||
.and(RequestPredicates.accept(MediaType.ALL)), swaggerResourceHandler)
|
||||
|
||||
Reference in new issue
Block a user