mingyang-admin-iot-app/api/internal/logic/user/oauth_authorize_logic.go

31 lines
648 B
Go

package user
import (
"context"
"mingyang-admin-app-api/internal/svc"
"mingyang-admin-app-api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type OauthAuthorizeLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
func NewOauthAuthorizeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthAuthorizeLogic {
return &OauthAuthorizeLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *OauthAuthorizeLogic) OauthAuthorize(req *types.OauthAuthorizeReq) (resp *types.OauthAuthorizeResp, err error) {
// todo: add your logic here and delete this line
return
}