system_setting_router.go
482 字节
package routers
import (
"github.com/beego/beego/v2/server/web"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-basic/pkg/port/beego/controllers"
)
func init() {
web.Router("/system-settings/", &controllers.SystemSettingController{}, "Put:UpdateSystemSetting")
web.Router("/system-settings/get", &controllers.SystemSettingController{}, "Post:GetSystemSetting")
web.Router("/system-settings/search", &controllers.SystemSettingController{}, "Post:ListSystemSetting")
}