You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/libs/base/app_handler.go

21 lines
322 B
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package base
import "github.com/veypi/OneBD"
/**
* @name: app_handler
* @author: veypi <i@veypi.com>
* @date: 2021-11-18 15:27
* @descriptionapp_handler
**/
type AppHandler struct {
ApiHandler
UUID string
}
func (h *AppHandler) Init(m OneBD.Meta) error {
h.UUID = m.Params("uuid")
return h.ApiHandler.Init(m)
}