reward_standard_router.go
710 字节
package routers
import (
"github.com/beego/beego/v2/server/web"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture/pkg/port/beego/controllers"
)
func init() {
web.Router("/reward-standard/", &controllers.RewardStandardController{}, "Post:CreatedRewardStandard")
web.Router("/reward-standard/:id", &controllers.RewardStandardController{}, "Put:UpdateRewardStandard")
web.Router("/reward-standard/:id", &controllers.RewardStandardController{}, "Get:GetRewardStandard")
web.Router("/reward-standard/remove", &controllers.RewardStandardController{}, "Post:DeleteRewardStandard")
web.Router("/reward-standard/search", &controllers.RewardStandardController{}, "Post:ListRewardStandard")
}