mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-16 22:30:26 +08:00
feat: 新增简易版ioc
This commit is contained in:
@@ -28,9 +28,9 @@ import (
|
||||
)
|
||||
|
||||
type Oauth2Login struct {
|
||||
Oauth2App application.Oauth2
|
||||
AccountApp sysapp.Account
|
||||
MsgApp msgapp.Msg
|
||||
Oauth2App application.Oauth2 `inject:""`
|
||||
AccountApp sysapp.Account `inject:""`
|
||||
MsgApp msgapp.Msg `inject:""`
|
||||
}
|
||||
|
||||
func (a *Oauth2Login) OAuth2Login(rc *req.Ctx) {
|
||||
|
||||
Reference in New Issue
Block a user