Browse Source

修改 chargetab.Get("/readtypeexcel", controllers.ExportChargeWayDataListExcel) 和 chargetab.Get("/type/list", controllers.GetChargeWayListData) 和 chargetab.Get("/totalyear", controllers.GetChargetabStatisticByYear)调用的方法

pull/2/head
zhangxin 4 years ago
parent
commit
2c8aa47319
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      web/routes/routes.go

+ 3
- 4
web/routes/routes.go View File

@ -12,7 +12,6 @@ func Hub(app *iris.Application) {
/* 定义路由 */
main := app.Party("/", cors.Mycors()).AllowMethods(iris.MethodOptions)
//中间件,验证token和权限路径
main.Use(middleware.ServeHTTP)
@ -160,7 +159,7 @@ func Hub(app *iris.Application) {
chargetab.Get("/listpage", controllers.GetChargeArrearageData)
chargetab.Get("/datapage", controllers.GetChargetabListPage)
chargetab.Get("/selectinfo", controllers.GetChargetab)
chargetab.Get("/totalyear", controllers.GetChargetabByYear)
chargetab.Get("/totalyear", controllers.GetChargetabStatisticByYear)
chargetab.Get("/totalbuilding", controllers.GetChargetabByBuilding)
chargetab.Get("/readexcel", controllers.GetChargetabReadExcel)
chargetab.Get("/readbuildexcel", controllers.GetChargetabReadBuildingExcel)
@ -169,8 +168,8 @@ func Hub(app *iris.Application) {
chargetab.Delete("/del", controllers.DelChargetab)
chargetab.Get("/recordlist", controllers.GetRecordLogList)
chargetab.Get("/statistic", controllers.GetChargeStatisticData)
chargetab.Get("/type/list", controllers.GetChargeTypeData)
chargetab.Get("/readtypeexcel", controllers.ExportChargeTypeExcel)
chargetab.Get("/type/list", controllers.GetChargeWayListData)
chargetab.Get("/readtypeexcel", controllers.ExportChargeWayDataListExcel)
// 固定资产
assettab := admin.Party("/assettab")


Loading…
Cancel
Save