Skip to content

Commit 5c47a43

Browse files
committed
fix: 路由地址
1 parent dee79d7 commit 5c47a43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/script/router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
func Router(api *gin.RouterGroup) {
1010

11-
rg := api.Group("/task")
11+
rg := api.Group("/")
1212

1313
rg.Use(midware.AuthGuard())
1414

api/taskline/router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
func Router(api *gin.RouterGroup) {
1010

11-
rg := api.Group("/task")
11+
rg := api.Group("/")
1212

1313
rg.Use(midware.AuthGuard())
1414

0 commit comments

Comments
 (0)