20 lines
454 B
Go
20 lines
454 B
Go
package controller
|
|
|
|
import (
|
|
"electricity_bill_calc/logger"
|
|
"electricity_bill_calc/security"
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
var withdrawLog = logger.Named("Handler", "Report")
|
|
|
|
func InitializewithdrawHandlers(router *fiber.App) {
|
|
router.Put("/withdraw/:rid", security.EnterpriseAuthorize, changeReportWithdraw)
|
|
}
|
|
func changeReportWithdraw(ctx *fiber.Ctx) error {
|
|
//result := response.NewResult(ctx)
|
|
//reportId := ctx.Params("rid")
|
|
return nil
|
|
|
|
}
|