// 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 GetWeatherLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 获取天气信息 func NewGetWeatherLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetWeatherLogic { return &GetWeatherLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *GetWeatherLogic) GetWeather(req *types.WeatherReq) error { // todo: add your logic here and delete this line return nil }