31 lines
632 B
Go
31 lines
632 B
Go
|
package user
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"tydata-server/app/user/cmd/api/internal/svc"
|
||
|
"tydata-server/app/user/cmd/api/internal/types"
|
||
|
|
||
|
"github.com/zeromicro/go-zero/core/logx"
|
||
|
)
|
||
|
|
||
|
type WxMiniAuthLogic struct {
|
||
|
logx.Logger
|
||
|
ctx context.Context
|
||
|
svcCtx *svc.ServiceContext
|
||
|
}
|
||
|
|
||
|
func NewWxMiniAuthLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WxMiniAuthLogic {
|
||
|
return &WxMiniAuthLogic{
|
||
|
Logger: logx.WithContext(ctx),
|
||
|
ctx: ctx,
|
||
|
svcCtx: svcCtx,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (l *WxMiniAuthLogic) WxMiniAuth(req *types.WXMiniAuthReq) (resp *types.WXMiniAuthResp, err error) {
|
||
|
// todo: add your logic here and delete this line
|
||
|
|
||
|
return
|
||
|
}
|