// Code scaffolded by goctl. Safe to edit. // goctl 1.10.1 package user import ( "context" "sundynix-micro-go/app/auth/api/internal/svc" "sundynix-micro-go/app/auth/api/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type GetLocationLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 获取位置信息 func NewGetLocationLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetLocationLogic { return &GetLocationLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *GetLocationLogic) GetLocation(req *types.LocationReq) error { // todo: add your logic here and delete this line return nil }