Skip to content

Commit

Permalink
del(canteen): 删除食堂流量查看功能
Browse files Browse the repository at this point in the history
  • Loading branch information
XiMo-210 committed Nov 16, 2024
1 parent cb15c6f commit 3fc8c48
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 73 deletions.
6 changes: 0 additions & 6 deletions app/apis/canteen/canteenApi.go

This file was deleted.

4 changes: 0 additions & 4 deletions app/apis/rootUrls.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
//
//var ZF_Main_URL = os.Getenv("ZF_URL")
//var ZF_BK_URL = os.Getenv("ZF_URL_BK")
//
//var CANTEEN_URL = os.Getenv("CANTEEN_URL")

var LIBRARY_URL string = config.Config.GetString("library")

Expand All @@ -22,5 +20,3 @@ var CAPTCHA_NEW_BREAKER_URL string = config.Config.GetString("captcha.new_breake
var ZF_URL string = config.Config.GetString("zf.url")
var ZF_Main_URL string = config.Config.GetString("zf.main_url")
var ZF_BK_URL string = config.Config.GetString("zf.bk_url")

var CANTEEN_URL string = config.Config.GetString("canteen")
22 changes: 0 additions & 22 deletions app/controller/canteenController/canteenController.go

This file was deleted.

35 changes: 0 additions & 35 deletions app/service/canteenService/flow.go

This file was deleted.

2 changes: 0 additions & 2 deletions config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ zf:
url:
main_url:
bk_url:

canteen:
4 changes: 0 additions & 4 deletions router/routers.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ func SetupRouter(r *gin.Engine) *gin.Engine {
library.POST("/borrow/reborrow", libraryController.LibraryReBorrow)
}
}
canteen := r.Group("/canteen")
{
canteen.GET("/flow", canteenController.Flow) // 关于餐厅客流量的路由
}

return r
}

0 comments on commit 3fc8c48

Please sign in to comment.