修改目录名称

This commit is contained in:
TOP糯米 2023-08-08 15:09:59 +08:00
parent bb0552900e
commit c6cd7cd104
4 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ package main
import (
"web/database"
"web/route"
"web/routes"
"web/server"
)
@ -12,9 +12,9 @@ func main() {
database.InitDB()
// 注册模块路由
route.RegistIndex(s)
route.RegistMember(s)
route.RegistShop(s)
routes.RegistIndex(s)
routes.RegistMember(s)
routes.RegistShop(s)
s.Listen(":8080")
}

View File

@ -1,4 +1,4 @@
package route
package routes
import (
"web/controllers"

View File

@ -1,4 +1,4 @@
package route
package routes
import (
"web/controllers/member"

View File

@ -1,4 +1,4 @@
package route
package routes
import (
"web/controllers/shop"