|
@ -1,10 +1,10 @@ |
|
|
package routes |
|
|
package routes |
|
|
|
|
|
|
|
|
import ( |
|
|
import ( |
|
|
|
|
|
"github.com/kataras/iris" |
|
|
"lapp_-wy/web/controllers" |
|
|
"lapp_-wy/web/controllers" |
|
|
"lapp_-wy/web/middleware" |
|
|
"lapp_-wy/web/middleware" |
|
|
"lapp_-wy/web/middleware/cors" |
|
|
"lapp_-wy/web/middleware/cors" |
|
|
"github.com/kataras/iris" |
|
|
|
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
// 所有的路由
|
|
|
// 所有的路由
|
|
@ -168,6 +168,8 @@ func Hub(app *iris.Application) { |
|
|
chargetab.Get("/readdataexcel", controllers.GetChargetabReadDataExcel) |
|
|
chargetab.Get("/readdataexcel", controllers.GetChargetabReadDataExcel) |
|
|
chargetab.Delete("/del", controllers.DelChargetab) |
|
|
chargetab.Delete("/del", controllers.DelChargetab) |
|
|
chargetab.Get("/recordlist", controllers.GetRecordLogList) |
|
|
chargetab.Get("/recordlist", controllers.GetRecordLogList) |
|
|
|
|
|
chargetab.Get("/statistic", controllers.GetChargeStatisticData) |
|
|
|
|
|
chargetab.Get("/statistic/type", controllers.GetChargeTypeStatisticData) |
|
|
|
|
|
|
|
|
// 固定资产
|
|
|
// 固定资产
|
|
|
assettab := admin.Party("/assettab") |
|
|
assettab := admin.Party("/assettab") |
|
|